-
Notifications
You must be signed in to change notification settings - Fork 34
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
Tracking atom index (ID) for equivalence sets #12
Comments
Hi Each element has an typedef struct _msym_element {
void *id; // custom identifier
double m; // Mass
double v[3]; // Position
int n; // Nuclear charge
char name[4]; // Name
} msym_element_t; Or is this not what you meant? |
I did see the Line 87 in c994703
At the outset, it seems like the |
Yes, you supply it in each element when doing |
Not been doing much chemistry lately, but just downloaded Avogadro 2 from Flathub. It looks great! I can see that atom selection is working. I like the subgroup selection and rendering as well. Perhaps we should look at rendering some orbitals at some point. Would probably be a good educational feature to be able to quickly view (example) SALCs for some n. |
That could be interesting (e.g., going from |
Shouldn't be too difficult assuming one could add an orbital to an atom (or equivalence set). |
I made a (very quick and ugly) hack to the Avogadro symmetry code to see if I could extract the symmetry species of the orbitals in an fchk file for CH2 (C2v) and basis C=1s2s2p, H=1s. It spits out this:
Which matches |
This would be great, particularly since many calculations run in low symmetry. I'd be happy to talk over email. |
I've sent you a couple of patches (hopefully to the right email). |
I implemented display of equivalent sets of atoms in Avogadro v2:
In the process, I realized that once you get the sets, there's no way to relate the atoms in the group back to the original molecule, except by element and coordinates.
Right now, I'm doing that, but it would be great to have an atom id (index) that travels through the context. Is there an easy way to do that?
In other words, what I'd really like to do is:
The text was updated successfully, but these errors were encountered: