Skip to content

Commit

Permalink
Reordering analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
anufrievroman committed Feb 2, 2023
1 parent d102090 commit f48de49
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions freepaths/main_mfp_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,18 @@ def main(input_file):
scatter_maps.write_into_files()
path_stats.write_into_files()

# Output general information:
output_general_information(start_time)
output_scattering_information(scatter_stats)
# Generate animation of phonon paths:
if cf.output_path_animation:
sys.stdout.write("\rGenerating path animation...")
create_animation()

# Analyze and plot the data:
sys.stdout.write("\rAnalyzing the data...")
plot_data()

# Generate animation of phonon paths:
if cf.output_path_animation:
sys.stdout.write("\rGenerating path animation...")
create_animation()
# Output general information:
output_general_information(start_time)
output_scattering_information(scatter_stats)

sys.stdout.write(f'\rSee the results in "Results/{cf.output_folder_name}" folder.\n')
sys.stdout.write(f"\rThermal conductivity = {thermal_conductivity}\n")
Expand Down
14 changes: 7 additions & 7 deletions freepaths/main_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ def main(input_file):
scatter_maps.write_into_files()
path_stats.write_into_files()

# Output general information:
output_general_information(start_time)
output_scattering_information(scatter_stats)
# Generate animation of phonon paths:
if cf.output_path_animation:
sys.stdout.write("\rGenerating path animation...")
create_animation()

# Analyze and plot the data:
sys.stdout.write("\rAnalyzing the data...")
plot_data()

# Generate animation of phonon paths:
if cf.output_path_animation:
sys.stdout.write("\rGenerating path animation...")
create_animation()
# Output general information:
output_general_information(start_time)
output_scattering_information(scatter_stats)

sys.stdout.write(f'\rSee the results in "Results/{cf.output_folder_name}" folder.\n')
sys.stdout.write("\rThank you for using FreePATHS.\n")

0 comments on commit f48de49

Please sign in to comment.