Commit 59182e9
authored
Fix/last frame and default n print (#341)
Quick fix for dump frequency related issues of API-initiated workflow
* raising default n_print of the API-initiated melt-quenching workflow to 100000
* adding a routine that handles case where the user-defined n_print is larger as the n_ionic_steps (computed from T range and heating or cooling rate) to automatically chose the smaller of both numbers for n_print. This takes care that the last structure is automatically dumped in such cases.1 parent 6e7a78b commit 59182e9
2 files changed
Lines changed: 7 additions & 3 deletions
File tree
- amorphouspy_api/src/amorphouspy_api/workflows
- amorphouspy/src/amorphouspy/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | | - | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
104 | | - | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments