Skip to content
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

Reaction nodes: support "chain reactions" #70

Open
greglandrum opened this issue Aug 5, 2019 · 0 comments
Open

Reaction nodes: support "chain reactions" #70

greglandrum opened this issue Aug 5, 2019 · 0 comments

Comments

@greglandrum
Copy link
Member

This would involve adding two new options:

  • bool allowChainReactions=false
  • unsigned maxChainReactionProducts=10

This would only work for reactions that have a single product.

If allowChainReactions is true, and the product of the reaction is a possible reactant (as either reactant 1 or reactant 2 for the two-component reaction), then the reaction is repeated with the product as a reactant. This repeats recursively until the product is no longer a possible reactant or maxChainReactionProducts is reached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant