[Dune] Geometry information of structured Grids

Oliver Sander oliver.sander at tu-dresden.de
Fri Aug 24 06:05:19 CEST 2018


Hi Simon,

no, there is no such way.  Nobody ever wanted it badly enough so far.
But I am sure that many will agree that it is useful information.
If you propose a decent interface it may be adopted.

Best,
Oliver

On 23.08.2018 17:02, Simon Praetorius wrote:
> Hi Community,
> 
> Is there a way to extract directly some geometry (and topology) information from YaspGrid (or another structured grid) in Dune, like:
> - extension of the domain
> - number of cells in each direction
> - lower left corner (origin) of the domain
> - for tensor-product grids: the coordinate vector in each direction
> - grid spacing in each direction, or if not constant, the grid spacing vectors (might be calculated from the data above)
> ?
> 
> I mean, essentially the information you pass to the constructor of the YaspGrid, but possibly after grid refinement.
> 
> Best wishes,
> Simon
> 
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at lists.dune-project.org
> https://lists.dune-project.org/mailman/listinfo/dune
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20180824/e343d487/attachment.sig>


More information about the Dune mailing list