Skip to content

Commit e0e2e9e

Browse files
authored
Improve comment strings in create_phase_diagram.py
1 parent b5056c0 commit e0e2e9e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

contrib/perplex/create_phase_diagram.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,17 @@ def run_perplex(
9090
pressure_range_total = [1.0, 140.0e9]
9191
temperature_range_total = [200.0, 4000.0]
9292

93-
# Split pressure and temperature so that PerpleX
94-
# no temperature splits seems to make diagram with
95-
# less prominent discontinuities
93+
# Split pressure and temperature so that PerpleX does not create
94+
# too many assemblages.
95+
# Splitting only pressures seems to make diagrams with
96+
# less prominent spurious discontinuities
9697
n_pressures_per_split = 101
9798
n_temperatures_per_split = 761
9899
n_splits_pressure = 28
99100
n_splits_temperature = 1
100101

101102
# If this script has already been run, and you just want to
102-
# tweak the figure, perplex should not be run again.
103+
# tweak the figure, PerpleX should not be run again.
103104
perplex_should_be_run = True
104105

105106
# End of project definitions
@@ -142,7 +143,7 @@ def run_perplex(
142143
# Define the number of exploratory nodes.
143144
# These are the nodes over which the full Gibbs minimization is performed.
144145
# In the refinement stage, the number of nodes is increased.
145-
# Any solutions not present on any of the bounding nodes will be excluded
146+
# Any phases not present on any of the bounding nodes will be excluded
146147
# from the calculations.
147148
n_P_exploratory = int((n_pressures_per_split + 1) / 2)
148149
n_T_exploratory = int((n_temperatures_per_split + 1) / 2)

0 commit comments

Comments
 (0)