limit to structures available in DAMASK

This commit is contained in:
Martin Diehl 2023-12-04 19:25:41 +01:00
parent 9e51ab160c
commit ab24d444fc
1 changed files with 0 additions and 7 deletions

View File

@ -2068,17 +2068,10 @@ class Result:
# Data CrystalStructures
crystal_structure_list = [999]
for label in self.visible['phases']:
if lattice_dict[label] in ['hP']:
crystal_structure = 'Hexagonal'
elif lattice_dict[label] in ['cP','cI','cF']:
crystal_structure = 'Cubic'
elif lattice_dict[label] in ['aP']:
crystal_structure = 'triclinic'
elif lattice_dict[label] in ['mP','mS']:
crystal_structure = 'monoclinic'
elif lattice_dict[label] in ['oP','oS','oI','oF']:
crystal_structure = 'Orthorhombic'
elif lattice_dict[label] in ['tP','tI']:
crystal_structure = 'tetragonal'
crystal_structure_list.append(Crystal_structure_types[crystal_structure])