dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21723
Re: [Branch ~dolfin-core/dolfin/main] Rev 5701: Bug fix in Face::area() + some cleanups
-
To:
Anders Logg <logg@xxxxxxxxx>
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Sat, 26 Feb 2011 09:09:44 +0000
-
Cc:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<20110226090653.GC17590@eowyn>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
On 26/02/11 09:06, Anders Logg wrote:
> 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,
I don't understand this - Face comes from a cell, so how can a Face be a
triangle in a 2D mesh. What would it's cell have been?
Garth
> 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