Skip to content

Commit

Permalink
Merge pull request #99 from ICAMS/fix_automated_tm
Browse files Browse the repository at this point in the history
explicitely change box size is mode melting temp is used
  • Loading branch information
srmnitc authored Nov 14, 2023
2 parents 599b345 + 280f0fb commit 746eccc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions calphy/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ def _validate_all(self) -> 'Input':
else:
raise ValueError("Could not find structure, please provide lattice and lattice_constant explicitely")

if self.repeat == [1,1,1]:
self.repeat = [5,5,5]

structure = _make_crystal(self.lattice.lower(),
lattice_constant=self.lattice_constant,
repetitions=self.repeat,
Expand Down

0 comments on commit 746eccc

Please sign in to comment.