Skip to content

Commit

Permalink
update pressure scaling method
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Apr 4, 2022
1 parent 2bd7a2f commit 3f86f6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions calphy/phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ def integrate_pressure_scaling(self, return_values=False):
Only returned if `return_values` is True.
"""
res = integrate_ps(self.simfolder, self.fe, self.natoms,
self.calc._pressure, self.calc._pressure_stop,
nsims=self.calc.n_iterations, return_values=return_values)

if return_values:
Expand Down
6 changes: 3 additions & 3 deletions notebooks/running_from_notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"id": "872e93c2-c3bf-4580-a1ef-77789019cf39",
"metadata": {},
"outputs": [
Expand All @@ -35,14 +35,14 @@
"text": [
"1\n",
"2\n",
"True\n",
"False\n",
"False\n"
]
}
],
"source": [
"csol = Calculation()\n",
"csol.pressure = [[1,1,]]\n",
"csol.pressure = [[1,1,1], [2,2,2]]\n",
"print(csol._pressure)\n",
"print(csol._pressure_stop)\n",
"print(csol._iso)\n",
Expand Down

0 comments on commit 3f86f6d

Please sign in to comment.