Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion source/postprocess/topography.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,13 @@ namespace aspect
return std::pair<std::string, std::string> ("Topography min/max:",
output_stats.str());


Utilities::create_directory (this->get_output_directory() + "topography/",
this->get_mpi_communicator(),
false);

std::string filename = this->get_output_directory() +
"topography." +
"topography/topography." +
Utilities::int_to_string(this->get_timestep_number(), 5);
if (this->get_parameters().run_postprocessors_on_nonlinear_iterations)
filename.append("." + Utilities::int_to_string (this->get_nonlinear_iteration(), 4));
Expand Down
Loading