Subject: Re: [UFC-dev] [FFC-dev] [HG ffc] Fixes for sub_element and sub_dof_map:

From: "Martin Sandve Alnæs" <[email-masked]>
Date: Fri, 27 Apr 2007 14:00:15 +0200

2007/4/27, FFC <[email-masked]>:
> user:        "Anders Logg <[email-masked]>"
> Fixes for sub_element and sub_dof_map:
>  - Generate code for num_sub_dof_maps and create_sub_dof_map
>  - Change behaviour of num_sub_elements. Now, an element that
>    is not mixed returns 0 from num_sub_elements(), not 1.

Wouldn't num_sub_elements() == 1 make more sense?
With this convention, sensible num_sub_elements() values
will be { 0, 2, 3, ... }, skipping 1. I find that strange.

martin

---

From: Anders Logg <[email-masked]>
Date: Fri, 27 Apr 2007 14:15:00 +0200

> will be { 0, 2, 3, ... }, skipping 1. I find that strange.

It does make more sense. Let's roll back.

Note to Kristian: don't need change code generation for
evaluate_basis.

/Anders