|
21 | 21 | # SOFTWARE. |
22 | 22 | """Provides utilities for mapping and transforming data types between Python and C++ representations.""" |
23 | 23 |
|
| 24 | +from enum import Enum # noqa: F401 |
24 | 25 | import inspect |
| 26 | +from pathlib import Path # noqa: F401 |
25 | 27 | import sys |
26 | 28 |
|
27 | | -from ansys.dpf.core.available_result import * # noqa: F401, F403 |
| 29 | +# Import types to map to cpp (camel case to snake case) |
| 30 | +from ansys.dpf.core.available_result import AvailableResult, Homogeneity # noqa: F401 |
| 31 | +from ansys.dpf.core.collection_base import CollectionBase # noqa: F401 |
28 | 32 | from ansys.dpf.core.common import ( |
29 | 33 | _camel_to_snake_case, |
30 | 34 | _smart_dict_camel, |
31 | 35 | _snake_to_camel_case, |
32 | 36 | ) |
33 | | -from ansys.dpf.core.data_sources import * # noqa: F401, F403 |
34 | | -from ansys.dpf.core.field import * # noqa: F401, F403 |
35 | | -from ansys.dpf.core.fields_container import * # noqa: F401, F403 |
36 | | - |
37 | | -## to do : change that one the module is done |
38 | | -from ansys.dpf.core.meshed_region import * # noqa: F401, F403 |
39 | | -from ansys.dpf.core.scoping import * # noqa: F401, F403 |
40 | | -from ansys.dpf.core.time_freq_support import * # noqa: F401, F403 |
| 37 | +from ansys.dpf.core.data_sources import DataSources # noqa: F401 |
| 38 | +from ansys.dpf.core.dpf_array import DPFArray # noqa: F401 |
| 39 | +from ansys.dpf.core.field import Field, FieldDefinition # noqa: F401 |
| 40 | +from ansys.dpf.core.fields_container import FieldsContainer # noqa: F401 |
| 41 | +from ansys.dpf.core.meshed_region import MeshedRegion # noqa: F401 |
| 42 | +from ansys.dpf.core.scoping import Scoping # noqa: F401 |
| 43 | +from ansys.dpf.core.support import Support # noqa: F401 |
| 44 | +from ansys.dpf.core.time_freq_support import TimeFreqSupport # noqa: F401 |
41 | 45 |
|
42 | 46 | map_types_to_cpp = _smart_dict_camel() |
43 | 47 | for classes in inspect.getmembers(sys.modules[__name__], inspect.isclass): |
|
0 commit comments