[dune-pdelab] Writing subtree of a CompositeGridFunctionSpace to VTK

Oliver Sander sander at igpm.rwth-aachen.de
Mon Jun 22 06:21:41 CEST 2015


Dear pdelab team,
I have written a program that uses a CompositeGridFunctionSpace with two childen,
each of which is a VectorGridFunctionSpace.  Simulation results are written to
VTK using [roughly]

  VTKWriter<GridView> vtkWriter(grid->leafGridView());
  VectorContainer x(compositeGFS);
  PDELab::addSolutionToVTKWriter(vtkWriter,compositeGFS,x);

which works.  However, I actually only want the first subtree in the file.
How do I do that?

Thanks for your help,
Oliver

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


More information about the dune-pdelab mailing list