[petsc-dev] ts_monitor_solution_vtk does not work when used with DMComposite

Mani Chandra mc0710 at gmail.com
Fri Feb 7 16:35:22 CST 2014


I have a heavy residual evaluation function which I cannot seem to
vectorize at all, so then I tried changing the global data layout putting
each variable in a contiguous chunk and it finally does vectorize. It's
probably a silly reason to use DMComposite.


On Fri, Feb 7, 2014 at 4:14 PM, Jed Brown <jed at jedbrown.org> wrote:

> Mani Chandra <mc0710 at gmail.com> writes:
>
> > Yeah, I have one DMDA for each variable in my system. I then put all
> these
> > in a DM. Do you think there's any other format I could use? Just need to
> > get the output to play nice with VisIt.
>
> Are the variables on different meshes?  (I.e., why are you using
> DMComposite?)
>
> For now, I suggest registering your own TS monitor and taking the
> composite Vec apart, then calling VecView to a VTK viewer on each part.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140207/34961076/attachment.html>


More information about the petsc-dev mailing list