[Dune] change to inheritance of vtksequencewriter
Aleksejs Fomins
aleksejs.fomins at lspr.ch
Wed Sep 24 11:25:03 CEST 2014
Dear Andreas,
I have sent the config.h file, but it is awaiting moderation, as the
message exceeds 150kb
Sorry for wait,
Aleksejs
On 09/24/2014 11:00 AM, Andreas Dedner wrote:
> Hi.
> Was this change discussed?
> It breaks code. Up until now you could write a method
> addMyData(VtkWriter<..> &)
> which could then either take a sequence writer or a simple vtk writer.
> This code
> is broken now (used e.g. in the examples in dune-alugrid).
> So this change is not backward compatible and at the moment I don't even
> see a workaround
> except to write two addMyData methods.
> Did I miss the discussion?
> Andreas
>
> commit 03898df8b04538b577426bdf5e93740cb0fdcf62
> Author: Oliver Sander <sander at igpm.rwth-aachen.de>
> Date: Fri Sep 19 22:56:14 2014 +0200
>
> Implement VTKSequenceWriterBase without the Curiously Recurring
> Template Pattern
>
> ... and without multiple inheritance. It is simpler that way, and
> not less
> efficient.
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140924/7d26fbe0/attachment.sig>
More information about the Dune
mailing list