Hi,
If I want to modify a workflow for example the Bandstructure wf and modify INCAR I know we can use this code:
import numpy as np
from pymatgen import Structure
from fireworks import LaunchPad
from atomate.vasp.workflows.presets.core import wf_bandstructure
from atomate.vasp.powerups import add_modify_incar
lpad = LaunchPad.auto_load() # loads this based on the FireWorks configuration
lpad.add_wf(modified_wf)
Now if I want in this wf modify kpoints to exact kpoints like:
Automatic mesh
0
Gamma
5 5 4
0.000 0.000 0.000
and didn’t use user_kpoints_settings (dict): example: {“grid_density”: 7000} how can I add these modified kpoints to that workflow and use custom incar and kpoints in a same time?
Thank you for your response. I prefer the first way. Just If you let me I want to add something to that.
because in modify_kpoints_params, we need a dictionary it’s not necessary to use this line
you are completely right. It is enought to pass the dictionary. However, I think it is also important to know that you can directly pass an pymatgen Kpoints object as well.
Glad that I could help,
Michael