Closed chivalry123 closed 7 years ago
This is what the method MPNonSCF does:
kpoints = Kpoints.automatic_density_by_vol(self.structure,
self.reciprocal_density)
mesh = kpoints.kpts[0]
ir_kpts = SpacegroupAnalyzer(
self.structure,
symprec=self.sym_prec).get_ir_reciprocal_mesh(mesh)
kpts = []
weights = []
for k in ir_kpts:
kpts.append(k[0])
weights.append(int(k[1]))
kpoints = Kpoints(comment="Non SCF run on uniform grid",
style=Kpoints.supported_modes.Reciprocal,
num_kpts=len(ir_kpts),
kpts=kpts, kpts_weights=weights)
Thank you very much. Explicit kpoints are generated successfully. This thread is actually targeting #584 for plotting fermi surface. I have posted the latest problem in plotting fermi surface there. Would you like to take a look there? Thank you very much.
I need to generate explicit k-points (considered symmetry of structure) for the vasp calculations (I also need it for correct Bootstrap fermi-surface calculation). I know that I could generate k-points among high symmetry lines in this way. However, I would need explicit k-points mesh for self consistent calculation (not lines though).
However, I have difficulties locating the parts of the code that outputs automatic explicit k-points (for self consistent calculation, not line mode). Would you like to hint me about it? Thank you very much.