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

Puzzled by atom-based masking of energies #1103

Closed
mkgilson opened this issue Sep 11, 2024 · 2 comments
Closed

Puzzled by atom-based masking of energies #1103

mkgilson opened this issue Sep 11, 2024 · 2 comments
Assignees
Labels
bug Feature Request Request for new features/functionality.

Comments

@mkgilson
Copy link

I want to decompose the energies of a system by atom, but am puzzled by the outputs. I'm using commands of the form

energy test1 @2 out test1.txt
energy test2 @1-10 out test2.txt

with the trpzip tutorial files here https://ambermd.org/tutorials/analysis/tutorial0/index.htm

When I use the mask @1, the energies are all zero. Same for mask @1,2. Mask @1-3 caused a core dump. Mask @1-4 gave me output angle energies, but all other energies are zero. Mask @1-5 gives both bond energies and angle energies. This is very weird, since two atoms should give a bond energy, three atoms should give angle, four should add torsions. Mask @1-6 brings in vdw14 and elec14 energies. Mask @1-7 gives same types of energy terms as @1-6, and Mask @1-8 finally also gives vdw and elec.

Is there a way to get e.g. the energies of all the bonds that atom 1 belongs to?

@drroe drroe added bug Feature Request Request for new features/functionality. labels Sep 11, 2024
@drroe drroe self-assigned this Sep 11, 2024
@drroe
Copy link
Contributor

drroe commented Sep 11, 2024

Hi! I just sent a reply to your email address regarding a similar issue (sorry for the delay again!). So you can't do energy decompositions like this yet - it's something I want to add. The pairwise command does a simple energy decomposition but only for simple nonbonded terms. The code should never be segfaulting - I'll look into what's causing that. Thanks for the report!

@drroe
Copy link
Contributor

drroe commented Nov 5, 2024

Should be addressed by enedecomp added in #1109 .

@drroe drroe closed this as completed Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Feature Request Request for new features/functionality.
Projects
None yet
Development

No branches or pull requests

2 participants