Skip to content

Addition of an atomic forces parser #144

@sshepherd637

Description

@sshepherd637

I have been using this AiiDA plugin for a while as it's basically a necessity for the amount of similar calculations I run, to that end because I need the atomic forces of the calculation output and retrievable, I have created an additional parsing function to parse any atomic forces output by the calculation if the run type is 'ENERGY/FORCE'. It then saves those forces to an ArrayData node called atomic_forces.

It's formatted quite simply, so if anyone can think of anything else required within the rough example I've given here (note the titles are not included within the actual array, but shown here to help explain):

Atom Number Atom Kind X component Y component Z component
1 1 0.005 0.005. 0.005

and so on, etc etc...

The output units within the array are the units specified within the output file.

Just something I've been using for a bit now, and after cleaning it up slightly, think it might be useful to have here as a tracked array of the forces.

Edit: I can't quite seem the get the table formatting to work with markdown, but I'm sure you get the idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions