Thread Previous • Date Previous • Date Next • Thread Next |
On 18/07/10 19:57, Anders Logg wrote:
On Fri, Jul 16, 2010 at 07:48:05PM +0100, Garth N. Wells wrote:I'm not keen on 'x' for the spatial coordinate when it's imported into DOLFIN (just asking for bugs). I would prefer something like x = SpatialCoordinate()Yes, perhaps. But isn't this just as good or bad as the default indices i, j, k etc which are automatically imported?
I would say that's it a little bit worse. x is not commonly used in forms as a coordinate, but it commonly used for other things (vectors, mesh coordinates). Since x is uncommon in forms, I removed it.
Garth
-- Anders
Thread Previous • Date Previous • Date Next • Thread Next |