[Dune] 2D-in-3D non-affine quadrilaterals have incorrect volume
Jö Fahlke
jorrit at jorrit.de
Fri Feb 4 17:40:28 CET 2011
Am Fri, 4. Feb 2011, 17:27:38 +0100 schrieb joe at dune-project.org:
> Modified:
> trunk/dune/grid/genericgeometry/test/testbasicgeometry.cc
> Log:
> [testbasicgeometry.cc] Extend to test all GeometryTypes up and includeing
> dim=3, in affine and non-affine versions.
The test now checks the volume of the basicgeometry-objects (as far as I have
been able to calculate a reference value for the volume, i.e. feel free to
supply values for the 3D non-affine geometries). The volume check currently
fails for non-affine quadrilaterals in a 3D space, yielding
Volume: 1.22474, but 1.28079 was expected!
I am not 100% sure that I calculated the area correctly though; if someone
else wants to have a go, the corners of the quadrilateral are (x,y,z):
(0,0,0), (1,0,0), (0,1,0), (1,1,1)
Bye,
Jö.
--
It is my conviction that killing under the cloak of war is nothing but
an act of murder.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20110204/0bfc4e58/attachment.sig>
More information about the Dune
mailing list