@@ -35,8 +35,12 @@ class CommonApproxNebMaker(Maker):
35
35
Name of the workflow
36
36
host_relax_maker : Maker
37
37
Optional, a maker to relax the input host structure.
38
- image_relax_maker : maker
38
+ image_relax_maker : Maker
39
39
Required, a maker to relax the ApproxNEB endpoints and images.
40
+ endpoint_relax_maker : Maker or None (default)
41
+ Optional maker to relax the endpoints that could differ from the
42
+ relax maker used on the intermediate images.
43
+ If None, this is set to `image_relax_maker`.
40
44
selective_dynamics_scheme : "fix_two_atoms" (default) or None
41
45
If "fix_two_atoms", uses the default selective dynamics scheme of ApproxNEB,
42
46
wherein the migrating ion and the ion farthest from it are the only
@@ -51,6 +55,7 @@ class CommonApproxNebMaker(Maker):
51
55
name : str = "ApproxNEB"
52
56
host_relax_maker : Maker | None = None
53
57
image_relax_maker : Maker = None
58
+ endpoint_relax_maker : Maker | None = None
54
59
selective_dynamics_scheme : Literal ["fix_two_atoms" ] | None = "fix_two_atoms"
55
60
min_hop_distance : float | bool = True
56
61
@@ -114,7 +119,7 @@ def make(
114
119
working_ion = working_ion ,
115
120
endpoint_coords = inserted_coords_dict ,
116
121
inserted_coords_combo = inserted_coords_combo ,
117
- relax_maker = self .image_relax_maker ,
122
+ relax_maker = self .endpoint_relax_maker or self . image_relax_maker ,
118
123
)
119
124
120
125
# run pathfinder (and selective dynamics) to get image structure input
0 commit comments