ansys-systemcoupling-core 0.7.0__py3-none-any.whl → 0.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ansys-systemcoupling-core might be problematic. Click here for more details.
- ansys/systemcoupling/core/__init__.py +2 -2
- ansys/systemcoupling/core/_version.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_1/instancing.py +2 -0
- ansys/systemcoupling/core/adaptor/api_25_1/instancing_child.py +62 -10
- ansys/systemcoupling/core/adaptor/api_25_1/mapping_control.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/setup_root.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_1/update_participant.py +15 -15
- ansys/systemcoupling/core/adaptor/api_25_2/_add_participant.py +80 -0
- ansys/systemcoupling/core/adaptor/api_25_2/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_2/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_2/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_2/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_aerodamping_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_data_transfer_by_display_names.py +191 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_flow_boundary_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_fsi_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_interface.py +77 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_interface_by_display_names.py +78 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_ordered_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_participant.py +162 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_thermal_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_25_2/analysis_control.py +303 -0
- ansys/systemcoupling/core/adaptor/api_25_2/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_25_2/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_25_2/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/attribute_child.py +64 -0
- ansys/systemcoupling/core/adaptor/api_25_2/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_25_2/avoid_data_reconstruction.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_2/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_2/clear_state.py +18 -0
- ansys/systemcoupling/core/adaptor/api_25_2/connect_ensight_dvs.py +41 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_participant_child.py +272 -0
- ansys/systemcoupling/core/adaptor/api_25_2/create_restart_point.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_2/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/data_transfer_child.py +187 -0
- ansys/systemcoupling/core/adaptor/api_25_2/delete_snapshot.py +28 -0
- ansys/systemcoupling/core/adaptor/api_25_2/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_2/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_25_2/execution_control.py +256 -0
- ansys/systemcoupling/core/adaptor/api_25_2/execution_control_1.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_2/fluent_input.py +77 -0
- ansys/systemcoupling/core/adaptor/api_25_2/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/fmu_parameter_child.py +164 -0
- ansys/systemcoupling/core/adaptor/api_25_2/generate_input_file.py +41 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_add_data_transfer_group_commands.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_machines.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_mode_shape_variables.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_region_names_for_participant.py +31 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_supported_participant_types.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_thermal_data_transfer_options.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/global_stabilization.py +155 -0
- ansys/systemcoupling/core/adaptor/api_25_2/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_25_2/instancing.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_2/instancing_child.py +114 -0
- ansys/systemcoupling/core/adaptor/api_25_2/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_2/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_25_2/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/live_visualization_child.py +100 -0
- ansys/systemcoupling/core/adaptor/api_25_2/map.py +19 -0
- ansys/systemcoupling/core/adaptor/api_25_2/mapping_control.py +249 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open.py +102 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open_results_in_ensight.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_25_2/output_control.py +134 -0
- ansys/systemcoupling/core/adaptor/api_25_2/parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/parameter_child.py +60 -0
- ansys/systemcoupling/core/adaptor/api_25_2/partition_participants.py +138 -0
- ansys/systemcoupling/core/adaptor/api_25_2/properties.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/record_interactions.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_25_2/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/region_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_25_2/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_25_2/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_25_2/save.py +51 -0
- ansys/systemcoupling/core/adaptor/api_25_2/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_25_2/setup_root.py +259 -0
- ansys/systemcoupling/core/adaptor/api_25_2/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_25_2/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_2/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_2/solution_control.py +117 -0
- ansys/systemcoupling/core/adaptor/api_25_2/solution_root.py +134 -0
- ansys/systemcoupling/core/adaptor/api_25_2/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_2/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_25_2/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_25_2/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_25_2/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_2/type.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_2/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_25_2/update_control.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/update_interfaces.py +19 -0
- ansys/systemcoupling/core/adaptor/api_25_2/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_25_2/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/variable_child.py +231 -0
- ansys/systemcoupling/core/adaptor/api_25_2/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_25_2/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/write_target_data.py +32 -0
- ansys/systemcoupling/core/adaptor/impl/get_status_messages.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +5 -4
- ansys/systemcoupling/core/adaptor/impl/root_source.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/static_info.py +13 -6
- ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/syc_proxy_interface.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/types.py +1 -1
- ansys/systemcoupling/core/charts/chart_datatypes.py +1 -1
- ansys/systemcoupling/core/charts/csv_chartdata.py +18 -4
- ansys/systemcoupling/core/charts/live_csv_datasource.py +1 -1
- ansys/systemcoupling/core/charts/message_dispatcher.py +1 -1
- ansys/systemcoupling/core/charts/plot_functions.py +1 -1
- ansys/systemcoupling/core/charts/plotdefinition_manager.py +1 -1
- ansys/systemcoupling/core/charts/plotter.py +1 -1
- ansys/systemcoupling/core/client/grpc_client.py +13 -4
- ansys/systemcoupling/core/client/services/command_query.py +4 -13
- ansys/systemcoupling/core/client/services/handle_rpc_error.py +64 -0
- ansys/systemcoupling/core/client/services/output_stream.py +1 -1
- ansys/systemcoupling/core/client/services/process.py +1 -1
- ansys/systemcoupling/core/client/services/solution.py +4 -13
- ansys/systemcoupling/core/client/syc_container.py +4 -1
- ansys/systemcoupling/core/client/syc_process.py +5 -1
- ansys/systemcoupling/core/client/variant.py +1 -1
- ansys/systemcoupling/core/examples/__init__.py +1 -1
- ansys/systemcoupling/core/examples/downloads.py +1 -1
- ansys/systemcoupling/core/native_api/__init__.py +1 -1
- ansys/systemcoupling/core/native_api/command_metadata.py +1 -1
- ansys/systemcoupling/core/native_api/datamodel_metadata.py +1 -1
- ansys/systemcoupling/core/native_api/meta_wrapper.py +1 -1
- ansys/systemcoupling/core/native_api/native_api.py +1 -1
- ansys/systemcoupling/core/native_api/object_path.py +1 -1
- ansys/systemcoupling/core/participant/manager.py +1 -1
- ansys/systemcoupling/core/participant/mapdl.py +1 -1
- ansys/systemcoupling/core/participant/protocol.py +1 -1
- ansys/systemcoupling/core/session.py +10 -3
- ansys/systemcoupling/core/syc_version.py +3 -3
- ansys/systemcoupling/core/util/file_transfer.py +22 -5
- ansys/systemcoupling/core/util/logging.py +1 -1
- ansys/systemcoupling/core/util/name_util.py +1 -1
- ansys/systemcoupling/core/util/pathstr.py +1 -1
- ansys/systemcoupling/core/util/state_keys.py +1 -1
- ansys/systemcoupling/core/util/yaml_helper.py +1 -1
- {ansys_systemcoupling_core-0.7.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info}/METADATA +35 -21
- {ansys_systemcoupling_core-0.7.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info}/RECORD +166 -53
- {ansys_systemcoupling_core-0.7.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info}/WHEEL +1 -1
- {ansys_systemcoupling_core-0.7.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info/licenses}/LICENSE +7 -7
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class mapping_control(Container):
|
|
9
|
+
"""
|
|
10
|
+
Configure controls for mapping.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "MappingControl"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("stop_if_poor_intersection", "StopIfPoorIntersection", "bool"),
|
|
17
|
+
("poor_intersection_threshold", "PoorIntersectionThreshold", "RealType"),
|
|
18
|
+
("face_alignment", "FaceAlignment", "str"),
|
|
19
|
+
("absolute_gap_tolerance", "AbsoluteGapTolerance", "RealType"),
|
|
20
|
+
("relative_gap_tolerance", "RelativeGapTolerance", "RealType"),
|
|
21
|
+
("small_weight_tolerance", "SmallWeightTolerance", "RealType"),
|
|
22
|
+
("corner_tolerance", "CornerTolerance", "RealType"),
|
|
23
|
+
("halo_tolerance", "HaloTolerance", "RealType"),
|
|
24
|
+
(
|
|
25
|
+
"conservative_reciprocity_factor",
|
|
26
|
+
"ConservativeReciprocityFactor",
|
|
27
|
+
"RealType",
|
|
28
|
+
),
|
|
29
|
+
(
|
|
30
|
+
"profile_preserving_reciprocity_factor",
|
|
31
|
+
"ProfilePreservingReciprocityFactor",
|
|
32
|
+
"RealType",
|
|
33
|
+
),
|
|
34
|
+
("conservative_intensive", "ConservativeIntensive", "str"),
|
|
35
|
+
("preserve_normal", "PreserveNormal", "str"),
|
|
36
|
+
(
|
|
37
|
+
"conservation_fix_tolerance_volume",
|
|
38
|
+
"ConservationFixToleranceVolume",
|
|
39
|
+
"RealType",
|
|
40
|
+
),
|
|
41
|
+
("rbf_option", "RBFOption", "str"),
|
|
42
|
+
("rbf_shape_parameter", "RBFShapeParameter", "RealType"),
|
|
43
|
+
("rbf_linear_correction", "RBFLinearCorrection", "bool"),
|
|
44
|
+
("rbf_clipping_scale", "RBFClippingScale", "RealType"),
|
|
45
|
+
("rbf_max_extrapolation_factor", "RBFMaxExtrapolationFactor", "RealType"),
|
|
46
|
+
("clipping", "Clipping", "bool"),
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def stop_if_poor_intersection(self) -> bool:
|
|
51
|
+
"""Controls whether to stop if the intersection is poor"""
|
|
52
|
+
return self.get_property_state("stop_if_poor_intersection")
|
|
53
|
+
|
|
54
|
+
@stop_if_poor_intersection.setter
|
|
55
|
+
def stop_if_poor_intersection(self, value: bool):
|
|
56
|
+
self.set_property_state("stop_if_poor_intersection", value)
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def poor_intersection_threshold(self) -> RealType:
|
|
60
|
+
"""System Coupling terminates with an error if the intersected fractions are below this threshold (in both directions)"""
|
|
61
|
+
return self.get_property_state("poor_intersection_threshold")
|
|
62
|
+
|
|
63
|
+
@poor_intersection_threshold.setter
|
|
64
|
+
def poor_intersection_threshold(self, value: RealType):
|
|
65
|
+
self.set_property_state("poor_intersection_threshold", value)
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def face_alignment(self) -> str:
|
|
69
|
+
"""Controls how face alignment is used during mapping.
|
|
70
|
+
|
|
71
|
+
Allowed values:
|
|
72
|
+
|
|
73
|
+
- \"ProgramControlled\" (default)
|
|
74
|
+
- \"OppositeOrientation\"
|
|
75
|
+
- \"SameOrientation\"
|
|
76
|
+
- \"AnyOrientation\" """
|
|
77
|
+
return self.get_property_state("face_alignment")
|
|
78
|
+
|
|
79
|
+
@face_alignment.setter
|
|
80
|
+
def face_alignment(self, value: str):
|
|
81
|
+
self.set_property_state("face_alignment", value)
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
def absolute_gap_tolerance(self) -> RealType:
|
|
85
|
+
"""Absolute gap tolerance value."""
|
|
86
|
+
return self.get_property_state("absolute_gap_tolerance")
|
|
87
|
+
|
|
88
|
+
@absolute_gap_tolerance.setter
|
|
89
|
+
def absolute_gap_tolerance(self, value: RealType):
|
|
90
|
+
self.set_property_state("absolute_gap_tolerance", value)
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def relative_gap_tolerance(self) -> RealType:
|
|
94
|
+
"""Maximum gap size relative to face size."""
|
|
95
|
+
return self.get_property_state("relative_gap_tolerance")
|
|
96
|
+
|
|
97
|
+
@relative_gap_tolerance.setter
|
|
98
|
+
def relative_gap_tolerance(self, value: RealType):
|
|
99
|
+
self.set_property_state("relative_gap_tolerance", value)
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def small_weight_tolerance(self) -> RealType:
|
|
103
|
+
"""Relative tolerance used to control when weights are dropped."""
|
|
104
|
+
return self.get_property_state("small_weight_tolerance")
|
|
105
|
+
|
|
106
|
+
@small_weight_tolerance.setter
|
|
107
|
+
def small_weight_tolerance(self, value: RealType):
|
|
108
|
+
self.set_property_state("small_weight_tolerance", value)
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
def corner_tolerance(self) -> RealType:
|
|
112
|
+
"""Angle [degrees] between adjacent source mesh faces above which the
|
|
113
|
+
mapping algorithm will stop searching for mapping candidates."""
|
|
114
|
+
return self.get_property_state("corner_tolerance")
|
|
115
|
+
|
|
116
|
+
@corner_tolerance.setter
|
|
117
|
+
def corner_tolerance(self, value: RealType):
|
|
118
|
+
self.set_property_state("corner_tolerance", value)
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def halo_tolerance(self) -> RealType:
|
|
122
|
+
"""If a face intersects but a target node lies outside of the source face, then
|
|
123
|
+
map the node if the projected distance to the face / sqrt(srcArea) is less
|
|
124
|
+
than this tolerance, otherwise leave as unmapped."""
|
|
125
|
+
return self.get_property_state("halo_tolerance")
|
|
126
|
+
|
|
127
|
+
@halo_tolerance.setter
|
|
128
|
+
def halo_tolerance(self, value: RealType):
|
|
129
|
+
self.set_property_state("halo_tolerance", value)
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def conservative_reciprocity_factor(self) -> RealType:
|
|
133
|
+
"""Reciprocity blend factor for conservative mapping."""
|
|
134
|
+
return self.get_property_state("conservative_reciprocity_factor")
|
|
135
|
+
|
|
136
|
+
@conservative_reciprocity_factor.setter
|
|
137
|
+
def conservative_reciprocity_factor(self, value: RealType):
|
|
138
|
+
self.set_property_state("conservative_reciprocity_factor", value)
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def profile_preserving_reciprocity_factor(self) -> RealType:
|
|
142
|
+
"""Reciprocity blend factor for profile-preserving mapping."""
|
|
143
|
+
return self.get_property_state("profile_preserving_reciprocity_factor")
|
|
144
|
+
|
|
145
|
+
@profile_preserving_reciprocity_factor.setter
|
|
146
|
+
def profile_preserving_reciprocity_factor(self, value: RealType):
|
|
147
|
+
self.set_property_state("profile_preserving_reciprocity_factor", value)
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def conservative_intensive(self) -> str:
|
|
151
|
+
"""Determines when the Intensive option is used for conservative mapping.
|
|
152
|
+
|
|
153
|
+
Allowed values:
|
|
154
|
+
|
|
155
|
+
- \"ProgramControlled\" (default)
|
|
156
|
+
- \"Off\"
|
|
157
|
+
- \"On\" """
|
|
158
|
+
return self.get_property_state("conservative_intensive")
|
|
159
|
+
|
|
160
|
+
@conservative_intensive.setter
|
|
161
|
+
def conservative_intensive(self, value: str):
|
|
162
|
+
self.set_property_state("conservative_intensive", value)
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def preserve_normal(self) -> str:
|
|
166
|
+
"""Determines if the normal component of a vector is preserved.
|
|
167
|
+
|
|
168
|
+
Allowed values:
|
|
169
|
+
|
|
170
|
+
- \"ProgramControlled\" (default)
|
|
171
|
+
- \"Off\"
|
|
172
|
+
- \"On\" """
|
|
173
|
+
return self.get_property_state("preserve_normal")
|
|
174
|
+
|
|
175
|
+
@preserve_normal.setter
|
|
176
|
+
def preserve_normal(self, value: str):
|
|
177
|
+
self.set_property_state("preserve_normal", value)
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def conservation_fix_tolerance_volume(self) -> RealType:
|
|
181
|
+
"""Source element overlap fraction to trigger volume mapping conservation fix.
|
|
182
|
+
|
|
183
|
+
0.0 is default. 1.0 effectively disables it."""
|
|
184
|
+
return self.get_property_state("conservation_fix_tolerance_volume")
|
|
185
|
+
|
|
186
|
+
@conservation_fix_tolerance_volume.setter
|
|
187
|
+
def conservation_fix_tolerance_volume(self, value: RealType):
|
|
188
|
+
self.set_property_state("conservation_fix_tolerance_volume", value)
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def rbf_option(self) -> str:
|
|
192
|
+
"""Controls radial basis function formulation.
|
|
193
|
+
|
|
194
|
+
Allowed values:
|
|
195
|
+
|
|
196
|
+
- \"Gaussian\" (default)
|
|
197
|
+
- \"ThinPlateSpline\" """
|
|
198
|
+
return self.get_property_state("rbf_option")
|
|
199
|
+
|
|
200
|
+
@rbf_option.setter
|
|
201
|
+
def rbf_option(self, value: str):
|
|
202
|
+
self.set_property_state("rbf_option", value)
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
def rbf_shape_parameter(self) -> RealType:
|
|
206
|
+
"""Sets the shape parameter beta when using Gaussian radial basis functions."""
|
|
207
|
+
return self.get_property_state("rbf_shape_parameter")
|
|
208
|
+
|
|
209
|
+
@rbf_shape_parameter.setter
|
|
210
|
+
def rbf_shape_parameter(self, value: RealType):
|
|
211
|
+
self.set_property_state("rbf_shape_parameter", value)
|
|
212
|
+
|
|
213
|
+
@property
|
|
214
|
+
def rbf_linear_correction(self) -> bool:
|
|
215
|
+
"""Controls whether linear polynomial augmentation is added to the RBF stencil for
|
|
216
|
+
low order regular element types (tet, hex, pyramid, wedge)."""
|
|
217
|
+
return self.get_property_state("rbf_linear_correction")
|
|
218
|
+
|
|
219
|
+
@rbf_linear_correction.setter
|
|
220
|
+
def rbf_linear_correction(self, value: bool):
|
|
221
|
+
self.set_property_state("rbf_linear_correction", value)
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
def rbf_clipping_scale(self) -> RealType:
|
|
225
|
+
"""Length scale factor used to determine if source nodes are removed from RBF
|
|
226
|
+
stencil when too close."""
|
|
227
|
+
return self.get_property_state("rbf_clipping_scale")
|
|
228
|
+
|
|
229
|
+
@rbf_clipping_scale.setter
|
|
230
|
+
def rbf_clipping_scale(self, value: RealType):
|
|
231
|
+
self.set_property_state("rbf_clipping_scale", value)
|
|
232
|
+
|
|
233
|
+
@property
|
|
234
|
+
def rbf_max_extrapolation_factor(self) -> RealType:
|
|
235
|
+
"""Maximum factor allowed to extrapolate for profile-preserving mapping."""
|
|
236
|
+
return self.get_property_state("rbf_max_extrapolation_factor")
|
|
237
|
+
|
|
238
|
+
@rbf_max_extrapolation_factor.setter
|
|
239
|
+
def rbf_max_extrapolation_factor(self, value: RealType):
|
|
240
|
+
self.set_property_state("rbf_max_extrapolation_factor", value)
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
def clipping(self) -> bool:
|
|
244
|
+
"""Controls whether to clip target values to the min/max of the local source values for profile-preserving transfers."""
|
|
245
|
+
return self.get_property_state("clipping")
|
|
246
|
+
|
|
247
|
+
@clipping.setter
|
|
248
|
+
def clipping(self, value: bool):
|
|
249
|
+
self.set_property_state("clipping", value)
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class open(Command):
|
|
9
|
+
"""
|
|
10
|
+
Reads the state of a coupled analysis. The state consists of settings to
|
|
11
|
+
populate the datamodel and results to restart the analysis at the end of
|
|
12
|
+
a specified coupling step.
|
|
13
|
+
|
|
14
|
+
Settings are stored in a file named Settings.h5. Results files may
|
|
15
|
+
correspond either to coupling iterations or coupling steps, depending on
|
|
16
|
+
the analysis type and the types of participants involved.
|
|
17
|
+
|
|
18
|
+
By default (no arguments provided), this command looks for the ``SyC``
|
|
19
|
+
directory in the current working directory. By default, if multiple
|
|
20
|
+
results files exist, the most recent one is opened.
|
|
21
|
+
|
|
22
|
+
If given optional arguments, behavior is modified as described below.
|
|
23
|
+
|
|
24
|
+
Cannot be run after the participants have been started.
|
|
25
|
+
|
|
26
|
+
Parameters
|
|
27
|
+
----------
|
|
28
|
+
file_path : str, optional
|
|
29
|
+
Working directory containing the ``SyC`` subdirectory (and its .h5
|
|
30
|
+
file(s)) to be read.
|
|
31
|
+
coupling_step : int, optional
|
|
32
|
+
Integer specifying the coupling step at which the coupled analysis is
|
|
33
|
+
restarted. When used, System Coupling reads the corresponding
|
|
34
|
+
``Results_step<#>.h5`` file in the specified directory and restarts the
|
|
35
|
+
analysis at the end of the specified coupling step. When this argument
|
|
36
|
+
is used, System Coupling automatically removes the output files related
|
|
37
|
+
to all later coupling steps. If the files cannot be removed, then
|
|
38
|
+
System Coupling generates an exception message instructing you to free
|
|
39
|
+
up the files and reissue the ``open`` command with the ``coupling_step``
|
|
40
|
+
argument. If the simulation's results files are associated with
|
|
41
|
+
coupling iterations, then System Coupling prints an error message
|
|
42
|
+
indicating this.
|
|
43
|
+
coupling_iteration : int, optional
|
|
44
|
+
Integer specifying the coupling iteration at which the coupled analysis
|
|
45
|
+
is restarted. When used, System Coupling reads the corresponding
|
|
46
|
+
``Results_iter<#>.h5`` file in the specified directory and restarts the
|
|
47
|
+
analysis at the end of the specified coupling iteration. When this
|
|
48
|
+
argument is used, System Coupling automatically removes the output
|
|
49
|
+
files related to all later coupling iterations. If the files cannot be
|
|
50
|
+
removed, then System Coupling generates an exception message
|
|
51
|
+
instructing you to free up the files and reissue the ``open`` command with
|
|
52
|
+
the ``coupling_iteration`` argument. If the simulation's results files are
|
|
53
|
+
associated with coupling steps, then System Coupling prints an error
|
|
54
|
+
message indicating this.
|
|
55
|
+
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
syc_name = "Open"
|
|
59
|
+
|
|
60
|
+
argument_names = ["file_path", "coupling_step", "coupling_iteration"]
|
|
61
|
+
|
|
62
|
+
class file_path(String):
|
|
63
|
+
"""
|
|
64
|
+
Working directory containing the ``SyC`` subdirectory (and its .h5
|
|
65
|
+
file(s)) to be read.
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
syc_name = "FilePath"
|
|
69
|
+
|
|
70
|
+
class coupling_step(Integer):
|
|
71
|
+
"""
|
|
72
|
+
Integer specifying the coupling step at which the coupled analysis is
|
|
73
|
+
restarted. When used, System Coupling reads the corresponding
|
|
74
|
+
``Results_step<#>.h5`` file in the specified directory and restarts the
|
|
75
|
+
analysis at the end of the specified coupling step. When this argument
|
|
76
|
+
is used, System Coupling automatically removes the output files related
|
|
77
|
+
to all later coupling steps. If the files cannot be removed, then
|
|
78
|
+
System Coupling generates an exception message instructing you to free
|
|
79
|
+
up the files and reissue the ``open`` command with the ``coupling_step``
|
|
80
|
+
argument. If the simulation's results files are associated with
|
|
81
|
+
coupling iterations, then System Coupling prints an error message
|
|
82
|
+
indicating this.
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
syc_name = "CouplingStep"
|
|
86
|
+
|
|
87
|
+
class coupling_iteration(Integer):
|
|
88
|
+
"""
|
|
89
|
+
Integer specifying the coupling iteration at which the coupled analysis
|
|
90
|
+
is restarted. When used, System Coupling reads the corresponding
|
|
91
|
+
``Results_iter<#>.h5`` file in the specified directory and restarts the
|
|
92
|
+
analysis at the end of the specified coupling iteration. When this
|
|
93
|
+
argument is used, System Coupling automatically removes the output
|
|
94
|
+
files related to all later coupling iterations. If the files cannot be
|
|
95
|
+
removed, then System Coupling generates an exception message
|
|
96
|
+
instructing you to free up the files and reissue the ``open`` command with
|
|
97
|
+
the ``coupling_iteration`` argument. If the simulation's results files are
|
|
98
|
+
associated with coupling steps, then System Coupling prints an error
|
|
99
|
+
message indicating this.
|
|
100
|
+
"""
|
|
101
|
+
|
|
102
|
+
syc_name = "CouplingIteration"
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class open_results_in_ensight(Command):
|
|
9
|
+
"""
|
|
10
|
+
Allows for System Coupling results to be postprocessed in EnSight.
|
|
11
|
+
|
|
12
|
+
When this command is issued, System Coupling looks for the ``results.enc``
|
|
13
|
+
file in the ``SyC/results`` subdirectory of the current working directory.
|
|
14
|
+
|
|
15
|
+
When System Coupling finds the file, it loads the file into EnSight and
|
|
16
|
+
generates a confirmation message indicating that results are being opened.
|
|
17
|
+
|
|
18
|
+
If System Coupling is unable to find the ``results.enc`` file and/or the
|
|
19
|
+
EnSight executable, then it raises an error.
|
|
20
|
+
|
|
21
|
+
The ``open_results_in_ensight`` command may be issued multiple times from the same
|
|
22
|
+
instance of System Coupling. Each time the command is issued, a new
|
|
23
|
+
instance of the EnSight application is opened. Any existing instances of
|
|
24
|
+
EnSight remain open, both when additional instances are created and when
|
|
25
|
+
System Coupling exits.
|
|
26
|
+
|
|
27
|
+
Parameters
|
|
28
|
+
----------
|
|
29
|
+
file_name : str, optional
|
|
30
|
+
The basename of the EnSight case file if using a non-standard file
|
|
31
|
+
name. Overrides the default file name ``results.enc``.
|
|
32
|
+
file_path : str, optional
|
|
33
|
+
The path to the EnSight case if using a non-standard location.
|
|
34
|
+
Overrides the default path of ``SyC/results``.
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
syc_name = "OpenResultsInEnSight"
|
|
39
|
+
|
|
40
|
+
argument_names = ["file_name", "file_path"]
|
|
41
|
+
|
|
42
|
+
class file_name(String):
|
|
43
|
+
"""
|
|
44
|
+
The basename of the EnSight case file if using a non-standard file
|
|
45
|
+
name. Overrides the default file name ``results.enc``.
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
syc_name = "FileName"
|
|
49
|
+
|
|
50
|
+
class file_path(String):
|
|
51
|
+
"""
|
|
52
|
+
The path to the EnSight case if using a non-standard location.
|
|
53
|
+
Overrides the default path of ``SyC/results``.
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
syc_name = "FilePath"
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class open_snapshot(Command):
|
|
9
|
+
"""
|
|
10
|
+
Opens a snapshot containing a previously saved state of the simulation.
|
|
11
|
+
All state (files and directories) stored in the snapshot will be restored.
|
|
12
|
+
If other state exists in the working directory, then it will not be
|
|
13
|
+
modified by this command.
|
|
14
|
+
|
|
15
|
+
Note: Snapshot cannot be opened if participants have been started.
|
|
16
|
+
|
|
17
|
+
Parameters
|
|
18
|
+
----------
|
|
19
|
+
snapshot_name : str, optional
|
|
20
|
+
The name of the snapshot to be opened. This is optional if and only if
|
|
21
|
+
there is only one snapshot available to be loaded. If multiple
|
|
22
|
+
snapshots exist, then the snapshot name must be specified.
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
syc_name = "OpenSnapshot"
|
|
27
|
+
|
|
28
|
+
argument_names = ["snapshot_name"]
|
|
29
|
+
|
|
30
|
+
class snapshot_name(String):
|
|
31
|
+
"""
|
|
32
|
+
The name of the snapshot to be opened. This is optional if and only if
|
|
33
|
+
there is only one snapshot available to be loaded. If multiple
|
|
34
|
+
snapshots exist, then the snapshot name must be specified.
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
syc_name = "SnapshotName"
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
from .ascii_output import ascii_output
|
|
8
|
+
from .live_visualization import live_visualization
|
|
9
|
+
from .results import results
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class output_control(Container):
|
|
13
|
+
"""
|
|
14
|
+
Configure output controls.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
syc_name = "OutputControl"
|
|
18
|
+
|
|
19
|
+
child_names = ["results", "ascii_output", "live_visualization"]
|
|
20
|
+
|
|
21
|
+
results: results = results
|
|
22
|
+
"""
|
|
23
|
+
results child of output_control.
|
|
24
|
+
"""
|
|
25
|
+
ascii_output: ascii_output = ascii_output
|
|
26
|
+
"""
|
|
27
|
+
ascii_output child of output_control.
|
|
28
|
+
"""
|
|
29
|
+
live_visualization: live_visualization = live_visualization
|
|
30
|
+
"""
|
|
31
|
+
live_visualization child of output_control.
|
|
32
|
+
"""
|
|
33
|
+
property_names_types = [
|
|
34
|
+
("option", "Option", "str"),
|
|
35
|
+
("generate_csv_chart_output", "GenerateCSVChartOutput", "bool"),
|
|
36
|
+
("write_initial_snapshot", "WriteInitialSnapshot", "bool"),
|
|
37
|
+
("transcript_precision", "TranscriptPrecision", "int"),
|
|
38
|
+
("write_diagnostics", "WriteDiagnostics", "bool"),
|
|
39
|
+
("write_weights_matrix", "WriteWeightsMatrix", "bool"),
|
|
40
|
+
("write_residuals", "WriteResiduals", "bool"),
|
|
41
|
+
("output_frequency", "OutputFrequency", "int"),
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def option(self) -> str:
|
|
46
|
+
"""Specifies when restart points are generated.
|
|
47
|
+
|
|
48
|
+
Allowed values (step-based analyses only):
|
|
49
|
+
|
|
50
|
+
- \"LastStep\" - Generates a restart point only for the last
|
|
51
|
+
coupling step completed.
|
|
52
|
+
- \"EveryStep\" -
|
|
53
|
+
Generate a restart point at the end of every coupling step.
|
|
54
|
+
- \"StepInterval\" - Generates a restart point at the end of
|
|
55
|
+
coupling steps at the interval specified by the output
|
|
56
|
+
frequency setting.
|
|
57
|
+
|
|
58
|
+
Allowed values (iteration-based analyses only):
|
|
59
|
+
|
|
60
|
+
- \"LastIteration\" - Generates a restart point only for the
|
|
61
|
+
last coupling iteration completed.
|
|
62
|
+
- \"EveryIteration\" - Generate a restart point at the end
|
|
63
|
+
of every coupling iteration.
|
|
64
|
+
- \"IterationInterval\" - Generates a restart point at the
|
|
65
|
+
end of coupling iterations at the interval specified by
|
|
66
|
+
the output frequency setting."""
|
|
67
|
+
return self.get_property_state("option")
|
|
68
|
+
|
|
69
|
+
@option.setter
|
|
70
|
+
def option(self, value: str):
|
|
71
|
+
self.set_property_state("option", value)
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
def generate_csv_chart_output(self) -> bool:
|
|
75
|
+
"""Write chart data in CSV format during solve."""
|
|
76
|
+
return self.get_property_state("generate_csv_chart_output")
|
|
77
|
+
|
|
78
|
+
@generate_csv_chart_output.setter
|
|
79
|
+
def generate_csv_chart_output(self, value: bool):
|
|
80
|
+
self.set_property_state("generate_csv_chart_output", value)
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
def write_initial_snapshot(self) -> bool:
|
|
84
|
+
"""Write initial snapshot."""
|
|
85
|
+
return self.get_property_state("write_initial_snapshot")
|
|
86
|
+
|
|
87
|
+
@write_initial_snapshot.setter
|
|
88
|
+
def write_initial_snapshot(self, value: bool):
|
|
89
|
+
self.set_property_state("write_initial_snapshot", value)
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def transcript_precision(self) -> int:
|
|
93
|
+
"""Number of digits after decimal point in transcript."""
|
|
94
|
+
return self.get_property_state("transcript_precision")
|
|
95
|
+
|
|
96
|
+
@transcript_precision.setter
|
|
97
|
+
def transcript_precision(self, value: int):
|
|
98
|
+
self.set_property_state("transcript_precision", value)
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def write_diagnostics(self) -> bool:
|
|
102
|
+
"""Write transfer diagnostics dictionary to file."""
|
|
103
|
+
return self.get_property_state("write_diagnostics")
|
|
104
|
+
|
|
105
|
+
@write_diagnostics.setter
|
|
106
|
+
def write_diagnostics(self, value: bool):
|
|
107
|
+
self.set_property_state("write_diagnostics", value)
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def write_weights_matrix(self) -> bool:
|
|
111
|
+
"""Write mapping weights to file after calculation."""
|
|
112
|
+
return self.get_property_state("write_weights_matrix")
|
|
113
|
+
|
|
114
|
+
@write_weights_matrix.setter
|
|
115
|
+
def write_weights_matrix(self, value: bool):
|
|
116
|
+
self.set_property_state("write_weights_matrix", value)
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
def write_residuals(self) -> bool:
|
|
120
|
+
"""Write residuals to results files."""
|
|
121
|
+
return self.get_property_state("write_residuals")
|
|
122
|
+
|
|
123
|
+
@write_residuals.setter
|
|
124
|
+
def write_residuals(self, value: bool):
|
|
125
|
+
self.set_property_state("write_residuals", value)
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def output_frequency(self) -> int:
|
|
129
|
+
"""Specify output frequency."""
|
|
130
|
+
return self.get_property_state("output_frequency")
|
|
131
|
+
|
|
132
|
+
@output_frequency.setter
|
|
133
|
+
def output_frequency(self, value: int):
|
|
134
|
+
self.set_property_state("output_frequency", value)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
from .parameter_child import parameter_child
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class parameter(NamedContainer[parameter_child]):
|
|
11
|
+
"""
|
|
12
|
+
Configure a parameter for the coupling participant.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "Parameter"
|
|
16
|
+
|
|
17
|
+
child_object_type: parameter_child = parameter_child
|
|
18
|
+
"""
|
|
19
|
+
child_object_type of parameter.
|
|
20
|
+
"""
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class parameter_child(Container):
|
|
9
|
+
"""
|
|
10
|
+
Configure a parameter for the coupling participant.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "child_object_type"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("participant_display_name", "ParticipantDisplayName", "str"),
|
|
17
|
+
("display_name", "DisplayName", "str"),
|
|
18
|
+
("data_type", "DataType", "str"),
|
|
19
|
+
("tensor_type", "TensorType", "str"),
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
@property
|
|
23
|
+
def participant_display_name(self) -> str:
|
|
24
|
+
"""Parameter's display name as defined by the participant solver."""
|
|
25
|
+
return self.get_property_state("participant_display_name")
|
|
26
|
+
|
|
27
|
+
@participant_display_name.setter
|
|
28
|
+
def participant_display_name(self, value: str):
|
|
29
|
+
self.set_property_state("participant_display_name", value)
|
|
30
|
+
|
|
31
|
+
@property
|
|
32
|
+
def display_name(self) -> str:
|
|
33
|
+
"""Parameter's display name as defined in System Coupling."""
|
|
34
|
+
return self.get_property_state("display_name")
|
|
35
|
+
|
|
36
|
+
@display_name.setter
|
|
37
|
+
def display_name(self, value: str):
|
|
38
|
+
self.set_property_state("display_name", value)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
def data_type(self) -> str:
|
|
42
|
+
"""Parameter's data type as reported by the participant.
|
|
43
|
+
|
|
44
|
+
Allowed values:
|
|
45
|
+
|
|
46
|
+
- Real"""
|
|
47
|
+
return self.get_property_state("data_type")
|
|
48
|
+
|
|
49
|
+
@data_type.setter
|
|
50
|
+
def data_type(self, value: str):
|
|
51
|
+
self.set_property_state("data_type", value)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
def tensor_type(self) -> str:
|
|
55
|
+
"""Indicates the parameter tensor type (\"Scalar\" only)."""
|
|
56
|
+
return self.get_property_state("tensor_type")
|
|
57
|
+
|
|
58
|
+
@tensor_type.setter
|
|
59
|
+
def tensor_type(self, value: str):
|
|
60
|
+
self.set_property_state("tensor_type", value)
|