In my program I have to reuse old solutions (due to time dependency), but would like to use them both as double values and float values (preconditioning does not require double values). Unfortunately my old solution is only given as a LinearAlgebra::distributed::Vector<double>(), but I have to use a LinearAlgebra::distributed::Vector<float>. Direct conversion via LinearAlgebra::distributed::Vector<float> float_solution(old_solution) does not work. Are there other ways for conversion?
-- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/59bcb18e-354e-4747-a24a-424b67df3a2a%40googlegroups.com.
