> How does CP2K define the cell around a molecule?
> Does it centre the cell about the axes' origin (0,0,0)?
> Or does it define point (0,0,0) as a corner of the cell?
>
Dr. Frederick Stein
Scientific Computing Core
CASUS - Center for Advanced Systems Understanding, Görlitz
Helmholtz-Zentrum Dresden-Rossendorf e.V. (HZDR)
rashe...@gmail.com
unread,
Jun 29, 2026, 2:57:52 PM (4 days ago) Jun 29
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
Thanks Frederick,
So, just for absolute clarification:
Say I defined a molecule about the origin, with coordinates having positive and negative signs, and then used, say, 10*10*10 cell without the
&CENTER_COORDINATES option, then part of the molecule will not be included within the cell? This means the molecule must be shifted to lie within the first octant of the xyz space (?)
eftrsd
Stein, Dr. Frederick
unread,
Jun 29, 2026, 3:41:05 PM (4 days ago) Jun 29
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp...@googlegroups.com
Dear eftrsd,
For clarification: In the case of missing periodicity, all parts of
densities(!) outside of the box in the non-periodic directions, are not
considered. This leads to non-zero densities at the border of the cell and
potentially a source of error (depends on the magnitude). Some
Poisson-solvers will emit a warning in this case because they assume exactly
that. The &CENTER_COORDINATES section reduces the probability of it, i.e.
the cell must be large enough.
Best,
Frederick