Skip to content

Commit a0ca30a

Browse files
authored
Merge pull request #206 from DaehoHan/comments-dh
Elaborate on the comments about the td widths
2 parents 80b61f6 + 35cc79c commit a0ca30a

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

src/libra_py/dynamics/tsh/compute.py

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,16 @@ def run_dynamics(dyn_var, _dyn_params, ham, compute_model, _model_params, rnd):
306306
307307
308308
* **dyn_params["wp_width"]** ( MATRIX(ndof, 1) ): A width of a Gaussian function as an approximation to adiabatic wave packets.
309-
This value is used for the initial conditions when the td Gaussian approximation is used, that is, use_td_width == 1
309+
According to the choice of the Gaussian width approximation, this parameter has different meanings
310+
- A constant width in the fixed-width approximation, that is, `use_td_width == 0`
311+
- The initial width in the free-particle Gaussian wave packet approximation, that is, `use_td_width == 1`
312+
- The interaction width in the Schwarz scheme, that is, `use_td_width == 2`
313+
- No influence on the dynamics since the width will be determined by internal variables in the Subotnik scheme, that is, `use_td_width == 3`
314+
310315
Only used with independent-trajectory XF methods, that is, `decoherence_algo == 5 or 6`
311316
312317
313-
* **dyn_params["wp_v"]** ( MATRIX(ndof,1) ): The velocity of Gaussian wave packet following potential-free td Gaussian
318+
* **dyn_params["wp_v"]** ( MATRIX(ndof,1) ): The velocity of Gaussian wave packet in the free-particle Gaussian approximation, that is, `use_td_width == 1`
314319
Only used with independent-trajectory XF methods, that is, `decoherence_algo == 5 or 6`
315320
316321
@@ -342,11 +347,13 @@ def run_dynamics(dyn_var, _dyn_params, ham, compute_model, _model_params, rnd):
342347
- 3: keep auxiliary momenta of adiabatic states except for the active state
343348
344349
345-
* **dyn_params["use_td_width"]** (int): Whether to use the td Gaussian width for the nuclear wave packet approximation [ default : 0 ]
346-
This option can be considered when it comes to unbounded systems.
347-
This approximation is based on a nuclear wave packet on a free surface:
348-
\sigma_x(t)=\sqrt[\sigma_x(0)^2 + (wp_v * t)^2]
350+
* **dyn_params["use_td_width"]** (int): Options for the td Gaussian width approximations [ default : 0 ]
349351
Only used with independent-trajectory XF methods, that is, `decoherence_algo == 5 or 6`
352+
353+
- 0: no td width; use the fixed-width Gaussian approximation
354+
- 1: the td Gaussian width from a free particle Gaussian wave packet, \sigma(t)=\sqrt[\sigma(0)^2 + (wp_v * t)^2]
355+
- 2: the Schwarz scheme where the width depends on the instantaneous de Broglie wavelength, \sigma(t)^(-2) = [\sigma(0)^2 * P/ (4 * PI) ]^2
356+
- 3: the Subotnik scheme where the width is given as a sum of pairwise widths depending on the auxiliary variables, \sigma_ij(t)^2 = |R_i - R_j| / |P_i - P_j|
350357
351358
352359
///===============================================================================

0 commit comments

Comments
 (0)