dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21722
Re: [Branch ~dolfin-core/dolfin/main] Rev 5701: Bug fix in Face::area() + some cleanups
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, noreply@xxxxxxxxxxxxx wrote:
> > ------------------------------------------------------------
> > revno: 5701
> > committer: Anders Logg <logg@xxxxxxxxx>
> > 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 : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
Follow ups
References