Skip to content
Discussion options

You must be logged in to vote

Hi Z. Liu,
AdjustToUnitCell changes only the unit cell (adjusting the q points and the cartesian vectors). However, since the original ff_dyn was a cubic structure, the atomic positions are not those of the R3m structure. To get the R3m symmetry, you should also change the atomic coordinates to those of your cell.

Inserting the line

ff_dyn.structure.coords[:,:] = R3m.coords[:,:]

After

ff_dyn.AdjustToNewCell(R3m.unit_cell, symmetrize = True)

You will get the correct symmetry group.

Bests,
Lorenzo

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mesonepigreco
Comment options

You must be logged in to vote
3 replies
@mesonepigreco
Comment options

@chenyubi14
Comment options

@mesonepigreco
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants