[Dune] GridType in GmshReader
Jö Fahlke
jorrit at jorrit.de
Wed Jul 20 11:29:39 CEST 2011
Am Wed, 20. Jul 2011, 14:34:15 +0530 schrieb Jayesh Badwaik:
> Date: Wed, 20 Jul 2011 14:34:15 +0530
> From: Jayesh Badwaik <jayesh.badwaik90 at gmail.com>
> To: DUNE Liste <dune at dune-project.org>
> Subject: Re: [Dune] GridType in GmshReader
>
> you are right, I have been dointg that till now.
> But then, my DeviceFactory does a lot of operations on the grid
> (it especially requires the scsgmapper etc.) and it is logical that the
> definition of GridType for the gridview
> should come from the implementation of the grid as defined with the
> GmshReader
>
> to define it separately would put the onus on keeping the two consistent on
> the code writer and this is not necessary
> and surely not desired.....
Read my code examples again. Even with the current interface of dune-grid,
you only need one template parameter, and it can be either the type of the
grid or the type of the reader.
The point is that while I welcome the suggestion of exporting the type of the
grid, it may take some time to get this into dune and you probably don't want
to wait for it.
Jö.
--
Bombing for peace is like fucking for virginity.
-------------- 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/20110720/28a7004e/attachment.sig>
More information about the Dune
mailing list