Bartosz Sawicki wrote:
> Before the function revolution there was method cell() inside the
> Function. I used it to determine index of current cell during assembly
> procedures, in eval() method. I realized that it disappeared now.
> How similar functionality can be achieved today?
>
You'll need to use the eval variant
void eval(double* values, const Data& data) const;
and you can then access the cell via
const Cell& cell = data.cell();
Garth
> regdr.
> BArtek
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> [email protected]
> http://www.fenics.org/mailman/listinfo/dolfin-dev
_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev