From: umairhussaincmm Date: Wed, 3 Jul 2024 07:55:00 +0000 (+0530) Subject: Writing output file in the same directory. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cfb52645f8c3e9cf9b1024196d370c2b3b64558;p=code-gallery.git Writing output file in the same directory. --- diff --git a/Crystal_Growth_Phase_Field_Model/output_results.cpp b/Crystal_Growth_Phase_Field_Model/output_results.cpp index c4b4fcc..9a62474 100644 --- a/Crystal_Growth_Phase_Field_Model/output_results.cpp +++ b/Crystal_Growth_Phase_Field_Model/output_results.cpp @@ -15,7 +15,7 @@ void PhaseFieldSolver::output_results(const unsigned int timestep_number) const data_out.add_data_vector(localized_solution, solution_names); const std::string filename = - "output/solution-" + Utilities::int_to_string(timestep_number, 3) + ".vtk"; + "solution-" + Utilities::int_to_string(timestep_number, 3) + ".vtk"; DataOutBase::VtkFlags vtk_flags; vtk_flags.compression_level = DataOutBase::VtkFlags::ZlibCompressionLevel::best_speed;