参数说明 ===== 参数详细描述 ------------- .. rst-class:: parameter-block : .. list-table:: :header-rows: 1 :widths: 27 15 20 38 * - **参数名** - **类型** - **默认值** - **说明** * - ``pseudo_dir`` - ``string`` - ``./`` - 赝势目录。 * - ``pseudo_file`` - ``string`` - ``None`` - 赝势文件名。 * - ``pseudo_rcut`` - ``float`` - ``15`` - 赝势截断半径。 * - ``pseudo_mesh`` - ``bool`` - ``false`` - 赝势网格 false:使用网格对赝势进行径向积分。 true:使用与qe一致的网格。 * - ``cal_type`` - ``string`` - ``scf`` - 计算类型(例如 scf/nscf/relax/cell-relax)。 * - ``esolver_type`` - ``string`` - ``ksdft`` - 求解器类型。 * - ``ntype`` - ``int`` - ``0`` - 原子类型数。 * - ``nbands`` - ``int`` - ``0`` - 能带数。 * - ``nbands_sto`` - ``int/string`` - ``256`` - 随机能带数(可为数值或 ``all``)。 * - ``kspacing`` - ``array`` - ``[0,0,0]`` - k点间距(1/bohr)。 * - ``min_dist_coef`` - ``float`` - ``0.2`` - 最小距离系数。 * - ``nbands_istate`` - ``int`` - ``5`` - 态能带数。 * - ``bands_to_print`` - ``int`` - ``1`` - 是否打印能带(0/1)。 * - ``kpar`` - ``int`` - ``1`` - k点并行数。 * - ``dft_functional`` - ``string`` - ``default`` - DFT 泛函(可选 LDA,PBE,HSE 等)。 * - ``xc_temperature`` - ``float`` - ``0.0`` - 交换相关温度(Ry)。 * - ``lmaxmax`` - ``int`` - ``2`` - 最大角动量。 * - ``basis`` - ``string`` - ``pw`` - 基组类型。 * - ``diago`` - ``string`` - ``default`` - KS 求解器(例如 cg,dav)。 * - ``sym`` - ``int`` - ``default`` - 对称性 0:不考虑对称性,1:对称运算中仅考虑时间反演对称性,2:将进行对称性分析以确定布拉维晶格的类型和相关的对称操作。 * - ``init_vel`` - ``bool`` - ``false`` - 是否设置初始速度(true/false)。 * - ``ref_cell_factor`` - ``float`` - ``1.0`` - 参考胞系数。 * - ``symmetry_prec`` - ``float`` - ``1e-6`` - 对称性判断精度( Bohr)。 * - ``force_cal`` - ``int`` - ``1`` - 是否进行力计算(0/1)。 * - ``force_thr`` - ``float`` - ``0.001`` - 力阈值(Ry/Bohr)。 * - ``stress_thr`` - ``float`` - ``0.5`` - 应力阈值(kbar)。 * - ``etotal_thr`` - ``float`` - ``0.0001`` - 总能量阈值(eV)。 * - ``pressure`` - ``float`` - ``0`` - 总压强(GPa)。 * - ``stress_cal`` - ``int`` - ``1`` - 是否计算应力(0/1)。 * - ``fixed_ibrav`` - ``bool`` - ``false`` - 是否固定晶格类型(true/false)。 * - ``fixed_atoms`` - ``bool`` - ``false`` - 是否固定原子(true/false)。 * - ``relax_method`` - ``string`` - ``bfgs`` - 弛豫方法。 * - ``relax_bfgs_w1`` - ``float`` - ``0.01`` - BFGS 参数 w1。 * - ``relax_bfgs_w2`` - ``float`` - ``0.5`` - BFGS 参数 w2。 * - ``relax_bfgs_rmax`` - ``float`` - ``0.8`` - BFGS 最大半径。 * - ``relax_bfgs_rmin`` - ``float`` - ``0.0001`` - BFGS 最小半径。 * - ``relax_bfgs_init`` - ``float`` - ``0.5`` - BFGS 初始值。 * - ``relax_scale_force`` - ``float`` - ``0.5`` - 力缩放系数。 * - ``gamma_only`` - ``bool`` - ``false`` - 是否仅使用 Gamma 点(true/false)。 * - ``ecutwfc`` - ``float`` - ``0.0`` - 波函数能量截断(eV)。 * - ``ecutrho`` - ``float`` - ``0.0`` - 电荷密度能量截断(Ry,通常为 4*ecutwfc)。 * - ``scf_thr`` - ``float`` - ``1e-9`` - SCF 电荷密度收敛阈值(Ry)。 * - ``scf_energy_thr`` - ``float`` - ``max(double)`` - SCF 能量阈值(eV)。 * - ``iscf_iter`` - ``int`` - ``100`` - SCF 最大迭代次数。 * - ``iopt_iter`` - ``int`` - ``50`` - 弛豫最大迭代次数。 * - ``out_stru`` - ``int`` - ``1`` - 是否输出结构(0/1)。 * - ``smearing`` - ``string`` - ``gauss`` - 展宽方法(如 gauss,fixed,mp 等)。 * - ``sigma`` - ``float`` - ``0.015`` - 展宽参数(Ry)。 * - ``smearing_sigma_temp`` - ``float`` - ``0.015`` - 温度相关展宽参数(K)。 * - ``mixing_type`` - ``string`` - ``broyden`` - 混合算法类型。 * - ``mixing_beta`` - ``float`` - ``0.8`` - 混合参数 beta。 * - ``mixing_ndim`` - ``int`` - ``8`` - 混合历史维数。 * - ``init_wfc`` - ``string`` - ``atomic`` - 初始波函数(atomic, random, atomic+random)。 * - ``init_chg`` - ``string`` - ``atomic`` - 初始电荷(atomic, file, wfc)。 * - ``chg_extrap`` - ``string`` - ``first-order`` - 电荷外推方式(first-order, second-order, atomic)。 * - ``out_chg`` - ``int`` - ``0`` - 是否输出电荷(0/1)。 * - ``out_bandgap`` - ``int`` - ``0`` - 是否输出能隙(0/1)。 * - ``out_pot`` - ``int`` - ``0`` - 是否输出势(0/1)。 * - ``out_wfc`` - ``int`` - ``0`` - 是否输出波函数(0/1)。 * - ``out_wfc_r`` - ``int`` - ``0`` - 是否输出实空间波函数(0/1)。 * - ``cal_dos`` - ``int`` - ``0`` - 是否计算 DOS(0/1)。 * - ``cal_band`` - ``array`` - ``{0,8}`` - 能带计算区间或设置。