ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #01575
Re: [Branch ~ufl-core/ufl/main] Rev 892: Add function sort_elements for sorting elements backwards with nested sub
On Mon, Jan 25, 2010 at 03:19:36PM +0100, Marie Rognes wrote:
> noreply@xxxxxxxxxxxxx wrote:
> >------------------------------------------------------------
> >revno: 892
> >committer: Anders Logg <logg@xxxxxxxxx>
> >branch nick: ufl-main
> >timestamp: Mon 2010-01-25 13:26:37 +0100
> >message:
> > Add function sort_elements for sorting elements backwards with nested sub
> > elements first. Using pygraph library for sorting directed acyclic graph.
> >modified:
> > ufl/algorithms/__init__.py
> > ufl/algorithms/analysis.py
> >
> >
>
> Is pygraph super-standard?
I don't know but it's in Ubuntu... :-)
It was the simplest way I could find to store a list of elements based
on their dependencies to sub elements.
If it's a problem, we could implement the sorting ourselves.
--
Anders
Attachment:
signature.asc
Description: Digital signature
Follow ups
References