@@ -426,9 +426,19 @@ def generate_derived_fitting_data(
426
426
Get the derived fitting data from symmetry operations on the primary fitting data.
427
427
428
428
It can happen that multiple primary deformations can be mapped to the same derived
429
- deformation from different symmetry operations. In such cases, the stress for a
430
- derived deformation is the average of all derived stresses, each corresponding to a
431
- primary calculation. In doing so, we also check to ensure that:
429
+ deformation from different symmetry operations. Ideally, this cannot happen if one
430
+ use the same structure to determine all the symmetry operations.
431
+
432
+ However, this is not the case in atomate, where the deformation tasks are determined
433
+ based on the symmetry of the structure before the tight relaxation, which in this
434
+ function the structure is the relaxed structure. The symmetries can be different.
435
+
436
+ In atomate2, this is not a problem, because the deformation tasks are determined
437
+ based on the relaxed structure.
438
+
439
+ To make it work for all cases, the stress for a derived deformation is the average
440
+ of all derived stresses, each corresponding to a primary calculation.
441
+ In doing so, we also check to ensure that:
432
442
1. only independent derived deformations are used
433
443
2. for a specific derived strain, a primary deformation is only used (mapped)
434
444
once to obtain the average
0 commit comments