[Dune] subentity geometry

Jö Fahlke jorrit at jorrit.de
Wed Sep 3 18:47:00 CEST 2014


Am Wed,  3. Sep 2014, 15:32:42 +0200 schrieb Aleksejs Fomins:
> Dear Dune,
> 
> I would really appreciate if you could help me with this question
> 
> I have a geometry type of a simplex, and I would like to use it to
> produce a geometry type of a simplex of dimension smaller by 1.
> 
> What is the best way to do this

GeometryType reduceDimension(GeometryType gt)
{
  GeometryType new_gt;
  new_gt.makeSimplex(gt.dim()-1)
  return new_gt;
}


???

Regards,
Jö.

-- 
Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
University of Münster, Orleans-Ring 10, D-48149 Münster
Tel: +49 251 83 35146 Fax: +49 251 83 32729

featured product: Debian GNU/Linux - http://www.debian.org
-------------- 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/20140903/3311e35a/attachment.sig>


More information about the Dune mailing list