Dear all,
I am a beginner of deal ii and C++. I want to modify some codes in step-6. I want to load the solution from outside but I meet some problem and have no idea how to fix it. The following is my modification, I just add a function: template <*int* dim> *void* Step6<dim>::read_solution (const *unsigned* *int* cycle) const { *int* n = 0; ifstream File; File.open("solution-" + std::to_string(cycle) + ".txt"); while(!File.eof()) { File >> solution[n]; n++; } File.close(); } Thanks for your time and I know it’s a simple question. Bests, John -- 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.