|
54 | 54 | ) |
55 | 55 | from ansys.health.heart.pre.input import _InputModel |
56 | 56 | import ansys.health.heart.pre.mesher as mesher |
57 | | -from ansys.health.heart.settings.material.ep_material import EPMaterial |
| 57 | +import ansys.health.heart.settings.material.ep_material as ep_materials |
58 | 58 | from ansys.health.heart.settings.material.material import ( |
59 | 59 | ISO, |
60 | 60 | Mat295, |
@@ -1689,7 +1689,7 @@ def create_stiff_ventricle_base( |
1689 | 1689 | part.active = False |
1690 | 1690 | part.meca_material = stiff_material |
1691 | 1691 | # assign default EP material as for ventricles |
1692 | | - part.ep_material = EPMaterial.Active() |
| 1692 | + part.ep_material = ep_materials.Active() |
1693 | 1693 |
|
1694 | 1694 | return part |
1695 | 1695 |
|
@@ -1830,7 +1830,7 @@ def _create_atrioventricular_isolation(self) -> None | anatomy.Part: |
1830 | 1830 | # Assign a new part ID to the isolation part |
1831 | 1831 | isolation.fiber = True |
1832 | 1832 | isolation.active = False |
1833 | | - isolation.ep_material = EPMaterial.Insulator() |
| 1833 | + isolation.ep_material = ep_materials.Insulator() |
1834 | 1834 |
|
1835 | 1835 | return isolation |
1836 | 1836 |
|
@@ -1891,7 +1891,7 @@ def create_atrial_stiff_ring(self, radius: float = 2) -> None | anatomy.Part: |
1891 | 1891 | ring.fiber = False |
1892 | 1892 | ring.active = False |
1893 | 1893 | # assign default EP material |
1894 | | - ring.ep_material = EPMaterial.Active() |
| 1894 | + ring.ep_material = ep_materials.Active() |
1895 | 1895 |
|
1896 | 1896 | return ring |
1897 | 1897 |
|
@@ -1932,7 +1932,7 @@ def __init__(self, working_directory: pathlib.Path | str = None) -> None: |
1932 | 1932 | self.pulmonary_artery.fiber = False |
1933 | 1933 | self.pulmonary_artery.active = False |
1934 | 1934 |
|
1935 | | - self.aorta.ep_material = EPMaterial.Insulator() |
1936 | | - self.pulmonary_artery.ep_material = EPMaterial.Insulator() |
| 1935 | + self.aorta.ep_material = ep_materials.Insulator() |
| 1936 | + self.pulmonary_artery.ep_material = ep_materials.Insulator() |
1937 | 1937 |
|
1938 | 1938 | super().__init__(working_directory=working_directory) |
0 commit comments