← Back to team overview

dolfin team mailing list archive

Re: Face.area not defined?

 

Should be fixed now.

--
Anders


On Fri, Feb 25, 2011 at 04:07:18PM -0800, Johan Hake wrote:
> Hello!
>
> When I run:
>
>   from dolfin import *
>   mesh = UnitCube(10,10,10)
>   for face in faces(mesh):
>       print face.area()
>
> my code blows up:
>
> [bigblue:31478] *** Process received signal ***
> [bigblue:31478] Signal: Segmentation fault (11)
> [bigblue:31478] Signal code: Address not mapped (1)
> [bigblue:31478] Failing at address: (nil)
> [bigblue:31478] [ 0] /lib/libpthread.so.0(+0xf8f0) [0x7f036fc018f0]
> [bigblue:31478] [ 1] /work/fenics/dolfin-
> dev/src/dolfin/dorsal_build_dir/dolfin/libdolfin.so.0(_ZNK6dolfin4Face4areaEv+0x63)
> [0x7f036c13f373]
>
> Was this introduced when Face::area was moved to Cell::facet_area?
>
> Can anyone confirm this error and maybe fix it? (Please...) I do not want to
> mess with my local FEniCS yet, but need to submit jobs on a cluster with
> development version installed.
>
> Johan
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp



References