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

Resonance structures of adsorbates don't put radicals on the surface. #1828

Closed
wants to merge 5 commits into from

Commits on Aug 18, 2020

  1. More informative error logging when adsorption thermo fails.

    If you can't find adsorption energy group value,
    log the adjacency list of the molecule.
    rwest committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    e70edda View commit details
    Browse the repository at this point in the history
  2. Make Atom.apply_action more consistent (and slightly faster)

    Tiny change. Increases readability and presumably speed.
    rwest committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    a98a6d3 View commit details
    Browse the repository at this point in the history
  3. Don't add radicals or lone pairs to surface sites.

    This may hide bugs, or it may be exactly the right
    thing to do. I'm not entirely sure.
    But it currently seems like a good idea.
    
    The presumption is:
    surface sites of metals should not have unpaired
    or pairs of electrons - they just have a big sea
    of delocalized electrons at their disposal.
    
    See #1820
    rwest committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    4f5a9eb View commit details
    Browse the repository at this point in the history
  4. When making a Species allow adsorbate resonance structures different …

    …multiplicity.
    
    When a metal surface is involved, your adsorbate may
    have different multiplicity in different resonance forms
    because you may hybridize a radical onto the metal
    where it "disappears". 
    
    It is an attempt to address 
    #1820
    rwest committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    91ce8eb View commit details
    Browse the repository at this point in the history
  5. Unit test that Surface_Adsorption_vdW doesn't adsorb radicals.

    Trying to forbid them using the forbidden structures doesn't 
    seem to be working (a bug in is_subgraph_isomorphic?) but
    making the top level node have multiplicity [1,3] excludes
    anything with multiplicity 2 and seems to work on a 
    generate_reactions level. Probably a better solution anyway, 
    as it's inefficient to match the node, apply the recipe, generate
    the products, and *then* discard them as forbidden.
    rwest committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    6f9803c View commit details
    Browse the repository at this point in the history