← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 5202: Added area to Face.

 

On Thu, Sep 16, 2010 at 11:24:34AM -0700, Johan Hake wrote:
> Hello!
>
> I added the method area to the Face class. I guess a Face is always a triangle
> so it should be safe.

Yes.

> There might be other methods that can be usefull like
> normal? Others?

Probably but can't think of any more right now.

> Should we do the same for Facet, but then check for topological dimension
> before making the computation, a la the generalized volume in CellTypes?

Facet should have normal but not area.

--
Anders


> Johan
>
> On Thursday September 16 2010 08:21:30 noreply@xxxxxxxxxxxxx wrote:
> > ------------------------------------------------------------
> > revno: 5202
> > committer: Johan Hake <hake.dev@xxxxxxxxx>
> > branch nick: dolfin
> > timestamp: Thu 2010-09-16 08:17:33 -0700
> > message:
> >   Added area to Face.
> > modified:
> >   dolfin/mesh/Face.cpp
> >   dolfin/mesh/Face.h
> >
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp

--
Anders



Follow ups

References