You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -128,7 +128,7 @@ Calculation mode. A small description of the different modes are given below.
128
128
-`pscale` calculates the free energy as a function of the pressure.
129
129
130
130
---
131
-
131
+
self.calc.md.init_commands
132
132
(temperature)=
133
133
#### `temperature`
134
134
@@ -542,6 +542,24 @@ n_cycles: 100
542
542
543
543
Number of cycles to try converging the pressure of the system. If the pressure is not converged after `n_cycles`, an error will be raised. In each `n_cycle`, `n_small_steps` MD steps will be run.
544
544
545
+
546
+
---
547
+
548
+
(init_commands)=
549
+
#### `init_commands`
550
+
551
+
_type_: list of strings
552
+
_default_: None
553
+
_example_:
554
+
```
555
+
init_commands:
556
+
- timestep 0.002
557
+
- atom_style charge
558
+
- neighbor 0.6 bin
559
+
```
560
+
561
+
Provides the possibility to replace or add initial commands when the LAMMPS object is initialised. If the command is already used in calphy, for example `timestep` or `atom_style` they will be replaced. If it is a new command, it will be added. This commands receive higher priority than the ones that already exist. For examples if you provide `timestep: 0.002` in the `md` block, and `timestep 0.004` in `init_commands`, the timestep used would be 0.004.
0 commit comments