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 bugs in animation loop and arc file writer #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cajfisher
Copy link
Contributor

Animation loop was returning to frame 1 instead of frame 0, and has now been fixed.
The arc writer also gave the wrong Cartesian coordinates for lattices rotated away from gdis's default, so matrix for calculating atom coordinates should be generated from arc's lattice parameters (pbcs).

Animation loop was returning to frame 1 instead of frame 0, and has now been fixed.
The arc writer also gave the wrong Cartesian coordinates for lattices rotated away from gdis's default, so matrix for calculating atom coordinates should be generated from arc's lattice parameters (pbcs).
@ovhpa ovhpa self-assigned this Sep 4, 2022
@@ -229,154 +231,202 @@ clist = data->cores;
slist = data->shels;
end_count=0;

/*The energy is stored on the frame 1st line starting from the 65th caracter*/
/* energy is stored on the 1st line of frame from 65th charactear */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/charactear/character

if (is_marvin_label(c_type))
{
if (!marvin_core(c_type)) core_flag = FALSE;
region = marvin_region(c_type);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation problem.
Also, we don't have a C styling policy (that I know of).
So the many changes that only add a space or tab here and there are just making it harder to find what is really changed ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants