On Wed, Mar 20, 2013 at 12:56 PM, Paul T. Bauman <ptbau...@gmail.com> wrote:
> On Wed, Mar 20, 2013 at 12:40 PM, Manav Bhatia <bhatiama...@gmail.com>wrote: > >> >> Please send me the tips/pointers and I will likely get to it this >> afternoon. >> > > The strategy that I had in mind would be similar to what's done for > vector-valued components. Namely, within build_solution_names and > build_solution_vector (both in equation_systems.C), you check if the > variable is complex and, if so, you create a variable name for each the > separate components and then populate those components with the > corresponding solution data. > > Note that this will only affect output and only those output types that > rely on build_solution_names, etc; I believe that is all of them, except > GMV, XDR, VTK. You would have to implement the read part for each of those > classes though, but I think XDR should already handle the complex case > fine, so I'd recommend that for restarts. > I should've also mentioned looking at the GMVIO, particularly around like 471 of gmv_io.C which should also help getting started. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users