def get_num_division_kpoints(structure, kppa):
    """
    Get kpoint divisions for a given k-point density (per reciprocal-atom):
    kppa and a given structure
    """
    output = run_aconvasp_command(["aconvasp", "--kpoints", str(kppa)],
                                  structure)
    tmp = output[0].rsplit("\n")[6].rsplit(" ")
    return [int(tmp[5]), int(tmp[6]), int(tmp[7])]
def get_num_division_kpoints ( structure , kppa ) : output = run_aconvasp_command ( [ "aconvasp" , "--kpoints" , str ( kppa ) ] , structure ) tmp = output [ 0 ] . rsplit ( "\n" ) [ 6 ] . rsplit ( " " ) return [ int ( tmp [ 5 ] ) , int ( tmp [ 6 ] ) , int ( tmp [ 7 ] ) ]
Get kpoint divisions for a given k-point density (per reciprocal-atom):
    kppa and a given structure