Remove unused keyword in get_triplets_at_q

This commit is contained in:
Atsushi Togo 2014-04-08 22:54:43 +09:00
parent d50fda8f97
commit ac21f1c4ff
3 changed files with 4 additions and 10 deletions

View File

@ -216,8 +216,7 @@ class Interaction:
grid_point,
self._mesh,
self._symmetry.get_pointgroup_operations(),
reciprocal_lattice,
with_bz_map=True)
reciprocal_lattice)
for triplet in triplets_at_q:
sum_q = (grid_address[triplet]).sum(axis=0)

View File

@ -237,8 +237,7 @@ class JointDos:
self._grid_point,
self._mesh,
self._symmetry.get_pointgroup_operations(),
self._reciprocal_lattice,
with_bz_map=True)
self._reciprocal_lattice)
def _set_phonon(self, grid_points):
set_phonon_c(self._dm,

View File

@ -15,8 +15,7 @@ def get_triplets_at_q(grid_point,
mesh,
point_group, # real space point group of space group
primitive_lattice, # column vectors
is_time_reversal=True,
with_bz_map=False):
is_time_reversal=True):
weights, third_q, grid_address = spg.get_triplets_reciprocal_mesh_at_q(
grid_point,
mesh,
@ -37,10 +36,7 @@ def get_triplets_at_q(grid_point,
"Num grid points %d, sum of weight %d" % (
np.prod(mesh), ir_weights.sum())
if with_bz_map:
return triplets_at_q, ir_weights, bz_grid_address, bz_map
else:
return triplets_at_q, ir_weights, bz_grid_address
return triplets_at_q, ir_weights, bz_grid_address, bz_map
def get_nosym_triplets_at_q(grid_point,
mesh,