Thread Previous • Date Previous • Date Next • Thread Next |
On 16/12/08 03:04 PM, Garth N. Wells wrote:
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();
Thanks. That's clear now. Remember that corresponding section of the manual needs to be updated. Do you plan to extend python interface to follow this changes? regrd. BArtek
Garthregdr. BArtek _______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@xxxxxxxxxx http://www.fenics.org/mailman/listinfo/dolfin-dev
Thread Previous • Date Previous • Date Next • Thread Next |