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

Fix chemkin file duplicate flags #1856

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Fix chemkin file duplicate flags #1856

wants to merge 5 commits into from

Commits on Aug 17, 2023

  1. Fix chemkin duplicate reaction detection.

    Hopefully fixes #1823 and #1336
    
    This whole procedure is probably a bit slow and could 
    probably be optimized, or done less often. 
    If it matters (don't do it before profiling).
    rwest committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    24acee3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf6cf62 View commit details
    Browse the repository at this point in the history
  3. Don't UNMARK duplicate reactions so aggressively.

    There's a model from Klippenstein/Glarborg, with three
    duplicate reactions, two PDep and one not.
    The previous implementation would notice that because 
    one is PDep and one is not, it would REMOVE the DUPLICATE
    flag, even though there's a THIRD reaction that means 
    the DUPLICATE flag should remain.
    
    Now we just log a warning and leave the flag alone.
    rwest committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b2da66f View commit details
    Browse the repository at this point in the history
  4. Fix unit tests for: Don't UNMARK duplicate reactions so aggressively.

    The new code doesn't remove duplicate reaction marks, so 
    this test is marked as a work in progress.
    
    Unless we decide the current behavior is ideal, in which case
    we can change the expected outcomes and make this pass.
    rwest committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    55c3020 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    186a20e View commit details
    Browse the repository at this point in the history