[Gmsh] Volume calculation for elementary elements

G. D. McBain gdmcbain at protonmail.com
Tue Apr 23 22:40:38 CEST 2019


Yes. Possibly even more encyclopedic in this case, and handy if you're using Python, is quadpy.

https://github.com/nschloe/quadpy/blob/master/README.md#tetrahedron

Envoyé depuis ProtonMail mobile

-------- Message d'origine --------
On 24 avr. 2019 à 00:31, Juan Sanchez a écrit :

> Wikipedia is good for this as well.
>
> https://en.wikipedia.org/wiki/Tetrahedron#Volume
>
> On Tue, Apr 23, 2019 at 9:14 AM Jeremy Theler <jeremy at seamplex.com> wrote:
>
>> Browse
>>
>> https://bitbucket.org/seamplex/wasora/src/9edef2db1f04bdb49e604722dce8df18879709b1/src/mesh/?at=master
>>
>> and look for the routines that compute the volumes, like line 405 of the following file
>>
>> https://bitbucket.org/seamplex/wasora/src/9edef2db1f04bdb49e604722dce8df18879709b1/src/mesh/tet4.c?at=master&fileviewer=file-view-default
>>
>> On Tue, 2019-04-23 at 12:23 +0200, paul francedixhuit wrote:
>>
>>> Dear all
>>>
>>> It's not directly related to gmsh (sorry) but I'm trying to find the formulas to calculate the volume or elementary 3d elements from their vertices?
>>>
>>> Does somebody have it?
>>>
>>> Thanks for the help
>>>
>>> Paul
>>>
>>> _______________________________________________
>>>
>>> gmsh mailing list
>>>
>>> gmsh at onelab.info
>>>
>>> http://onelab.info/mailman/listinfo/gmsh
>>
>> _______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info
>> http://onelab.info/mailman/listinfo/gmsh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190423/c574b976/attachment.html>


More information about the gmsh mailing list