[firedrake] hedgehogize

Cotter, Colin J colin.cotter at imperial.ac.uk
Fri Sep 26 21:22:30 BST 2014


Oh that's a good way to do it, thanks.

--cjc
________________________________________
From: firedrake-bounces at imperial.ac.uk [firedrake-bounces at imperial.ac.uk] on behalf of Lawrence Mitchell [lawrence.mitchell at imperial.ac.uk]
Sent: 26 September 2014 21:05
To: firedrake
Subject: Re: [firedrake] hedgehogize

On 26 Sep 2014, at 19:51, Cotter, Colin J <colin.cotter at imperial.ac.uk> wrote:

> Dear all,
>  How do people feel about me adding a hedgehogize utility to Firedrake, that takes an extruded sphere mesh and applies the hedgehog transformation? If agreed, where shall I put it?


hedgehog = ExtrudedMesh(mesh, extrusion_type='radial_hedgehog')

should provide:

hedgehog.coordinates # DG hedgehog coords

hedgehog.original_coordinates # Original CG coords

Lawrence
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3552 bytes
Desc: not available
URL: <http://mailman.ic.ac.uk/pipermail/firedrake/attachments/20140926/6e09e2ac/attachment.bin>


More information about the firedrake mailing list