On Wed, 20 Mar 2013, Manav Bhatia wrote: > Here is one potential solution: > > The ThreadedIO in system_io.C is the key. > If this is templatized using the value type, the appropriate > method XDR::data_stream() in xdr_cxx.C will be called. So, providing the > template value (for ThreadedIO) to be Real when Number=Complex should do > the trick. > > The catch here is that this template value will have to be carried down all > the way from EquationSystems::read(). > > So, if Number = Complex, but the data in XDR is Real, then something > like EquationSystems::read<Real>() should work fine. In which case, all > methods down to System::read_serialized_block_dof_object() will need an > extra template value. > > Does this sound reasonable?
We'd want a default template argument of Number for backwards API compatibility; otherwise this sounds excellent. I'd be thrilled if the fix is this simple. --- Roy ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
