Skip to content

Intra add #148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
242 changes: 241 additions & 1 deletion input/kinetics/families/Intra_R_Add_Endocyclic/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
entry(
index = 2,
label = "multiplebond_intra",
group =
group =
"""
1 *2 [Cd,Cdd,Ct,CO,N,CS] u0 {2,[D,T]}
2 *3 [Cd,Ct,Od,Sd,Cdd,N] u0 {1,[D,T]}
Expand Down Expand Up @@ -2654,3 +2654,243 @@
""",
)

forbidden(
label = "mb_intra_Rxc3",
group =
"""
1 *2 R!H u0 {2,[D,T]} {3,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 *5 R!H ux {2,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_Rxc4",
group =
"""
1 *2 R!H u0 {2,[D,T]} {4,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 R!H ux {2,[S,D,T,B]} {4,[S,D,T,B]}
4 *5 R!H ux {3,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_Rxc5",
group =
"""
1 *2 R!H u0 {2,[D,T]} {5,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 R!H ux {2,[S,D,T,B]} {4,[S,D,T,B]}
4 R!H ux {3,[S,D,T,B]} {5,[S,D,T,B]}
5 *5 R!H ux {4,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_Rxc6",
group =
"""
1 *2 R!H u0 {2,[D,T]} {6,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 R!H ux {2,[S,D,T,B]} {4,[S,D,T,B]}
4 R!H ux {3,[S,D,T,B]} {5,[S,D,T,B]}
5 R!H ux {4,[S,D,T,B]} {6,[S,D,T,B]}
6 *5 R!H ux {5,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_Rxc7",
group =
"""
1 *2 R!H u0 {2,[D,T]} {7,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 R!H ux {2,[S,D,T,B]} {4,[S,D,T,B]}
4 R!H ux {3,[S,D,T,B]} {5,[S,D,T,B]}
5 R!H ux {4,[S,D,T,B]} {6,[S,D,T,B]}
6 R!H ux {5,[S,D,T,B]} {7,[S,D,T,B]}
7 *5 R!H ux {6,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_Rxc8",
group =
"""
1 *2 R!H u0 {2,[D,T]} {8,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 R!H ux {2,[S,D,T,B]} {4,[S,D,T,B]}
4 R!H ux {3,[S,D,T,B]} {5,[S,D,T,B]}
5 R!H ux {4,[S,D,T,B]} {6,[S,D,T,B]}
6 R!H ux {5,[S,D,T,B]} {7,[S,D,T,B]}
7 R!H ux {6,[S,D,T,B]} {8,[S,D,T,B]}
8 *5 R!H ux {7,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_R1c3_beta",
group =
"""
1 *2 R!H u0 {2,[D,T]} {3,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 *4 R!H ux {2,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_R1c4_beta",
group =
"""
1 *2 R!H u0 {2,[D,T]} {4,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 R!H ux {2,[S,D,T,B]} {4,[S,D,T,B]}
4 *4 R!H ux {3,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_R1c5_beta",
group =
"""
1 *2 R!H u0 {2,[D,T]} {5,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 R!H ux {2,[S,D,T,B]} {4,[S,D,T,B]}
4 R!H ux {3,[S,D,T,B]} {5,[S,D,T,B]}
5 *4 R!H ux {4,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_R1c6_beta",
group =
"""
1 *2 R!H u0 {2,[D,T]} {6,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 R!H ux {2,[S,D,T,B]} {4,[S,D,T,B]}
4 R!H ux {3,[S,D,T,B]} {5,[S,D,T,B]}
5 R!H ux {4,[S,D,T,B]} {6,[S,D,T,B]}
6 *4 R!H ux {5,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_R1c7_beta",
group =
"""
1 *2 R!H u0 {2,[D,T]} {7,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 R!H ux {2,[S,D,T,B]} {4,[S,D,T,B]}
4 R!H ux {3,[S,D,T,B]} {5,[S,D,T,B]}
5 R!H ux {4,[S,D,T,B]} {6,[S,D,T,B]}
6 R!H ux {5,[S,D,T,B]} {7,[S,D,T,B]}
7 *4 R!H ux {6,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_R1c8_beta",
group =
"""
1 *2 R!H u0 {2,[D,T]} {8,[S,D,T,B]}
2 *3 R!H u0 {1,[D,T]} {3,[S,D,T,B]}
3 R!H ux {2,[S,D,T,B]} {4,[S,D,T,B]}
4 R!H ux {3,[S,D,T,B]} {5,[S,D,T,B]}
5 R!H ux {4,[S,D,T,B]} {6,[S,D,T,B]}
6 R!H ux {5,[S,D,T,B]} {7,[S,D,T,B]}
7 R!H ux {6,[S,D,T,B]} {8,[S,D,T,B]}
8 *4 R!H ux {7,[S,D,T,B]} {1,[S,D,T,B]}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)

forbidden(
label = "mb_intra_Rxc6_aromatic",
group =
"""
1 *2 R!H u0 {2,D} {6,S}
2 *3 R!H u0 {1,D} {3,S}
3 R!H ux {2,S} {4,D}
4 R!H ux {3,D} {5,S}
5 R!H ux {4,S} {6,D}
6 R!H ux {5,D} {1,S}
""",
shortDesc = u"""""",
longDesc =
u"""
If we allow cyclics in both this family and Intra_R_Add_Exocyclic then we will get unwanted
duplicate reactions. Therefore, we forbid all cyclics in this family.
""",
)
Loading