Skip to content

Commit 4045be7

Browse files
committed
Fixing the interpolate mesh subroutine
1 parent c0736d9 commit 4045be7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cellconstructor/Phonons.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2911,6 +2911,11 @@ def InterpolateMesh(self, mesh_dim, lo_to_splitting = False):
29112911
t2.Center()
29122912

29132913
out_dyn = t2.GeneratePhonons(mesh_dim, lo_to_splitting=lo_to_splitting)
2914+
2915+
# Copy the values of effective charges, raman and dielectric tensor
2916+
out_dyn.effective_charges = self.effective_charges
2917+
out_dyn.dielectric_tensor = self.dielectric_tensor
2918+
out_dyn.raman_tensor = self.raman_tensor
29142919
return out_dyn
29152920

29162921

0 commit comments

Comments
 (0)