This repository was archived by the owner on Jun 7, 2024. It is now read-only.
Commit 773b29b
committed
Seed Mechanisms reactions now added to core or edge properly.
Previously, they were all placed on the edge. This was a problem when a reaction
should have been in the core (based on all reagents being in the core in
the condition file). Such reactions are now placed in the core.
Also, we now add both forward and reverse directions, if reverse directions exist.
The addReactionSet(LinkedHashSet) method did almost exactly what I needed, but
it would discard reactions that had a reactant not in the core (you couldn't
have something entirely in the edge). Rather than change the behaviour
of that method (which is used elsewhere) I made a new method: addReactionSetFromSeed1 parent 4b4384a commit 773b29b
File tree
2 files changed
+54
-6
lines changed- source/RMG/jing/rxnSys
2 files changed
+54
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| 250 | + | |
249 | 251 | | |
250 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
251 | 256 | | |
252 | 257 | | |
253 | 258 | | |
254 | 259 | | |
255 | 260 | | |
256 | 261 | | |
| 262 | + | |
257 | 263 | | |
258 | 264 | | |
259 | 265 | | |
| 266 | + | |
260 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
261 | 271 | | |
262 | | - | |
263 | 272 | | |
264 | 273 | | |
265 | 274 | | |
| |||
279 | 288 | | |
280 | 289 | | |
281 | 290 | | |
282 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
283 | 331 | | |
284 | 332 | | |
285 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3553 | 3553 | | |
3554 | 3554 | | |
3555 | 3555 | | |
3556 | | - | |
| 3556 | + | |
3557 | 3557 | | |
3558 | | - | |
| 3558 | + | |
3559 | 3559 | | |
3560 | 3560 | | |
3561 | 3561 | | |
| |||
0 commit comments