The projection centre specified by the LOCPROJ tag is outside the unit cell.

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Locked
Message
Author
yutoml
Newbie
Newbie
Posts: 5
Joined: Sun Oct 20, 2024 3:00 pm

The projection centre specified by the LOCPROJ tag is outside the unit cell.

#1 Post by yutoml » Tue Aug 19, 2025 9:33 am

The following specifications were made in LOCPROJ tag in INCAR.

Code: Select all

LOCPROJ = ‘1 2 3 : d : Pr’

However, in the resulting LOCPROJ file, the projection centre has negative coordinates and is outside the unit cell(see ISITE: 2 and ISITE 3:).

Code: Select all

1  1400    30    15  # of spin, # of k-points, # of bands, # of proj
   ISITE:     1    R=      0.0000000     0.0000000     0.0000000  PAW projector    :    dxy
      ISITE:     1    R=      0.0000000     0.0000000     0.0000000  PAW projector    :    dyz
      ISITE:     1    R=      0.0000000     0.0000000     0.0000000  PAW projector    :    dz2
      ISITE:     1    R=      0.0000000     0.0000000     0.0000000  PAW projector    :    dxz
      ISITE:     1    R=      0.0000000     0.0000000     0.0000000  PAW projector    :   dx2-y2
    ISITE:     2    R=     -0.3333333     0.3333333    -0.5000000  PAW projector    :    dxy
      ISITE:     2    R=     -0.3333333     0.3333333    -0.5000000  PAW projector    :    dyz
      ISITE:     2    R=     -0.3333333     0.3333333    -0.5000000  PAW projector    :    dz2
      ISITE:     2    R=     -0.3333333     0.3333333    -0.5000000  PAW projector    :    dxz
      ISITE:     2    R=     -0.3333333     0.3333333    -0.5000000  PAW projector    :   dx2-y2
    ISITE:     3    R=      0.3333333    -0.3333333    -0.5000000  PAW projector    :    dxy
      ISITE:     3    R=      0.3333333    -0.3333333    -0.5000000  PAW projector    :    dyz
      ISITE:     3    R=      0.3333333    -0.3333333    -0.5000000  PAW projector    :    dz2
      ISITE:     3    R=      0.3333333    -0.3333333    -0.5000000  PAW projector    :    dxz
      ISITE:     3    R=      0.3333333    -0.3333333    -0.5000000  PAW projector    :   dx2-y2

The output LOCPROJ file I expect is as follows.

Code: Select all

1  1400    30    15  # of spin, # of k-points, # of bands, # of proj
   ISITE:     1    R=      0.0000000     0.0000000     0.0000000  PAW projector    :    dxy
      ISITE:     1    R=      0.0000000     0.0000000     0.0000000  PAW projector    :    dyz
      ISITE:     1    R=      0.0000000     0.0000000     0.0000000  PAW projector    :    dz2
      ISITE:     1    R=      0.0000000     0.0000000     0.0000000  PAW projector    :    dxz
      ISITE:     1    R=      0.0000000     0.0000000     0.0000000  PAW projector    :   dx2-y2
    ISITE:     2    R=     0.6666666     0.3333333    0.5000000  PAW projector    :    dxy
      ISITE:     2    R=     0.6666666     0.3333333    0.5000000  PAW projector    :    dyz
      ISITE:     2    R=     0.6666666     0.3333333    0.5000000  PAW projector    :    dz2
      ISITE:     2    R=     0.6666666     0.3333333    0.5000000  PAW projector    :    dxz
      ISITE:     2    R=     0.6666666     0.3333333    0.5000000  PAW projector    :   dx2-y2
    ISITE:     3    R=      0.3333333    0.6666666    0.5000000  PAW projector    :    dxy
      ISITE:     3    R=      0.3333333    0.6666666    0.5000000  PAW projector    :    dyz
      ISITE:     3    R=      0.3333333    0.6666666    0.5000000  PAW projector    :    dz2
      ISITE:     3    R=      0.3333333    0.6666666    0.5000000  PAW projector    :    dxz
      ISITE:     3    R=      0.3333333    0.6666666    0.5000000  PAW projector    :   dx2-y2

Is there a way to avoid this?
I am using the following as POSCAR.

Code: Select all

Ti3
1.0
   3.9412204462015445    2.2754646855501184    0.0000000000000000
  -3.9412204462015445    2.2754646855501184   -0.0000000000000000
   0.0000000000000000   -0.0000000000000000    2.8178036989832456
Ti
3
direct
   0.0000000000000000    0.0000000000000000    0.0000000000000000 Ti
   0.6666666666666643    0.3333333333333357    0.5000000000000000 Ti
   0.3333333333333357    0.6666666666666643    0.5000000000000000 Ti

ferenc_karsai
Global Moderator
Global Moderator
Posts: 581
Joined: Mon Nov 04, 2019 12:44 pm

Re: The projection centre specified by the LOCPROJ tag is outside the unit cell.

#2 Post by ferenc_karsai » Thu Aug 21, 2025 8:18 am

Please upload your calculation according to the forum guidelines so that we can try to reproduce your problems.


yutoml
Newbie
Newbie
Posts: 5
Joined: Sun Oct 20, 2024 3:00 pm

Re: The projection centre specified by the LOCPROJ tag is outside the unit cell.

#3 Post by yutoml » Thu Aug 21, 2025 3:03 pm

Sorry, I overlooked the guidelines.

I am attaching the relevant input/output files as locproj.tar.zst.
I am using "Ti" as POTCAR
However, I could not upload the essential LOCPROJ file due to the size limitation.

Thank you in advance.

You do not have the required permissions to view the files attached to this post.
Last edited by yutoml on Thu Aug 21, 2025 3:15 pm, edited 2 times in total.

ferenc_karsai
Global Moderator
Global Moderator
Posts: 581
Joined: Mon Nov 04, 2019 12:44 pm

Re: The projection centre specified by the LOCPROJ tag is outside the unit cell.

#4 Post by ferenc_karsai » Fri Aug 22, 2025 9:55 am

In the LOCPROJ file the coordinates are mapped to -0.5 to 0.5 instead of 0 to 1.

There is no way to avoid that, but you can easily transform them back. Add 1.0 to all values that are smaller than 0.


yutoml
Newbie
Newbie
Posts: 5
Joined: Sun Oct 20, 2024 3:00 pm

Re: The projection centre specified by the LOCPROJ tag is outside the unit cell.

#5 Post by yutoml » Fri Aug 22, 2025 2:20 pm

I’m sorry, my previous explanation was insufficient.
After this VASP step, I would like to perform further analysis using Wannier90 with the obtained output. In the subsequent Wannier90 process, when plotting Wannier functions (WF), I would like the WF centers to be located inside the unit cell.

Although I do not yet fully understand Wannier90, it seems that the initial WF centers in Wannier90 are the same as those given by the LOCPROJ file output from VASP. Therefore, I thought that if the centers in the VASP output were kept inside the unit cell, this issue could be resolved, which is why I asked this question. Does this mean that, in VASP, it is not possible to keep the centers of localized functions within the unit cell?


yutoml
Newbie
Newbie
Posts: 5
Joined: Sun Oct 20, 2024 3:00 pm

Re: The projection centre specified by the LOCPROJ tag is outside the unit cell.

#6 Post by yutoml » Mon Aug 25, 2025 9:17 am

This issue has already been resolved.
I found that by adjusting the way I operate the plotting software, I was able to obtain the plots I wanted.
Thank you very much for your support.


ferenc_karsai
Global Moderator
Global Moderator
Posts: 581
Joined: Mon Nov 04, 2019 12:44 pm

Re: The projection centre specified by the LOCPROJ tag is outside the unit cell.

#7 Post by ferenc_karsai » Mon Aug 25, 2025 10:01 am

Thanks for writing us that you have solved the problem.

I will now lock this issue.


Locked