Hi, I'm studying Wolfgang's lecture 31.65 that deals with picard iteration.
In the lecture, previous_solution_gradients[] is used. But, I also want to know How I can use just previous_solution[]. At first, I used previous_solution[q_index] in assemble_system as in previous_solution_gradients[q_index] But, It seems that What I did was wrong... Could you let me know How I can use previous_solution in the assemble_system, as well as previous_solution_gradients? And... one more thing. I also want to know maximum value of previous_solution. So, What I have done is following... Vector<double>::iterator max; double max_val; max=std::max_element(pre_solution.begin(),pre_solution.end()); max_val=(*max); Is it right way?? Please help me. Thanks. Kyusik. -- 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 dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.