On Sat, Feb 26, 2011 at 08:20:18AM +0000, Garth N. Wells wrote: > Why call the mesh topology dim function in Face when for a face the mesh > dim must be 3?
It could also be that the Face is itself the cell (triangle) of a 2D mesh, but then some (or maybe all) of those functions called may break down so some dimension checking + throwing an error is probably a better alternative. -- Anders > Garth > > On 26/02/11 00:58, [email protected] wrote: > > ------------------------------------------------------------ > > revno: 5701 > > committer: Anders Logg <[email protected]> > > branch nick: dolfin > > timestamp: Sat 2011-02-26 01:36:14 +0100 > > message: > > Bug fix in Face::area() + some cleanups > > modified: > > dolfin/mesh/Face.cpp > > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

