ansys-systemcoupling-core 0.3.1__py3-none-any.whl → 0.4.dev0__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.

Files changed (165) hide show
  1. ansys/systemcoupling/core/__init__.py +23 -1
  2. ansys/systemcoupling/core/_version.py +22 -0
  3. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_data_transfer_by_display_names.py +0 -3
  4. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_interface.py +21 -23
  5. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_interface_by_display_names.py +0 -3
  6. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_participant.py +40 -20
  7. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/analysis_control.py +0 -42
  8. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/avoid_data_reconstruction.py +0 -10
  9. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/case_root.py +7 -1
  10. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/coupling_participant_child.py +2 -97
  11. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/execution_control.py +1 -31
  12. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/fluent_input.py +0 -10
  13. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/fmu_parameter_child.py +0 -30
  14. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/has_input_file_changed.py +2 -2
  15. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/mapping_control.py +0 -10
  16. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/open_results_in_ensight.py +0 -28
  17. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/output_control.py +1 -6
  18. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/region_child.py +3 -2
  19. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/setup_root.py +1 -49
  20. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/solution_control.py +0 -24
  21. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/solution_root.py +1 -7
  22. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/start_participants.py +1 -1
  23. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/update_participant.py +8 -8
  24. ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/variable_child.py +1 -31
  25. ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer_by_display_names.py +3 -0
  26. ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/add_fsi_data_transfers.py +1 -12
  27. ansys/systemcoupling/core/adaptor/api_24_1/add_interface.py +23 -21
  28. ansys/systemcoupling/core/adaptor/api_24_1/add_interface_by_display_names.py +3 -0
  29. ansys/systemcoupling/core/adaptor/api_24_1/add_participant.py +20 -40
  30. ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +42 -0
  31. ansys/systemcoupling/core/adaptor/api_24_1/avoid_data_reconstruction.py +10 -0
  32. ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +1 -7
  33. ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +85 -2
  34. ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +11 -1
  35. ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter_child.py +30 -0
  36. ansys/systemcoupling/core/adaptor/api_24_1/has_input_file_changed.py +2 -2
  37. ansys/systemcoupling/core/adaptor/api_24_1/mapping_control.py +10 -0
  38. ansys/systemcoupling/core/adaptor/api_24_1/open_results_in_ensight.py +28 -0
  39. ansys/systemcoupling/core/adaptor/api_24_1/output_control.py +6 -1
  40. ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/record_interactions.py +0 -10
  41. ansys/systemcoupling/core/adaptor/api_24_1/region_child.py +2 -2
  42. ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +49 -1
  43. ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +24 -0
  44. ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +7 -1
  45. ansys/systemcoupling/core/adaptor/api_24_1/start_participants.py +1 -1
  46. ansys/systemcoupling/core/adaptor/api_24_1/update_participant.py +8 -8
  47. ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +31 -1
  48. ansys/systemcoupling/core/adaptor/impl/get_status_messages.py +22 -0
  49. ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +26 -2
  50. ansys/systemcoupling/core/adaptor/impl/injected_commands.py +29 -0
  51. ansys/systemcoupling/core/adaptor/impl/root_source.py +22 -1
  52. ansys/systemcoupling/core/adaptor/impl/static_info.py +22 -0
  53. ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +22 -0
  54. ansys/systemcoupling/core/adaptor/impl/syc_proxy_interface.py +22 -0
  55. ansys/systemcoupling/core/adaptor/impl/types.py +23 -0
  56. ansys/systemcoupling/core/client/grpc_client.py +22 -0
  57. ansys/systemcoupling/core/client/services/command_query.py +22 -0
  58. ansys/systemcoupling/core/client/services/output_stream.py +22 -0
  59. ansys/systemcoupling/core/client/services/process.py +22 -0
  60. ansys/systemcoupling/core/client/services/solution.py +22 -0
  61. ansys/systemcoupling/core/client/syc_container.py +22 -0
  62. ansys/systemcoupling/core/client/syc_process.py +22 -0
  63. ansys/systemcoupling/core/client/variant.py +22 -0
  64. ansys/systemcoupling/core/examples/__init__.py +22 -0
  65. ansys/systemcoupling/core/examples/downloads.py +23 -0
  66. ansys/systemcoupling/core/native_api/__init__.py +22 -0
  67. ansys/systemcoupling/core/native_api/command_metadata.py +23 -0
  68. ansys/systemcoupling/core/native_api/datamodel_metadata.py +22 -0
  69. ansys/systemcoupling/core/native_api/meta_wrapper.py +23 -0
  70. ansys/systemcoupling/core/native_api/native_api.py +22 -0
  71. ansys/systemcoupling/core/native_api/object_path.py +22 -0
  72. ansys/systemcoupling/core/participant/manager.py +22 -0
  73. ansys/systemcoupling/core/participant/mapdl.py +298 -0
  74. ansys/systemcoupling/core/participant/protocol.py +22 -0
  75. ansys/systemcoupling/core/session.py +22 -0
  76. ansys/systemcoupling/core/syc_version.py +22 -0
  77. ansys/systemcoupling/core/util/logging.py +22 -0
  78. ansys/systemcoupling/core/util/name_util.py +22 -0
  79. ansys/systemcoupling/core/util/pathstr.py +23 -1
  80. ansys/systemcoupling/core/util/state_keys.py +22 -0
  81. ansys/systemcoupling/core/util/yaml_helper.py +22 -0
  82. {ansys_systemcoupling_core-0.3.1.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/METADATA +19 -18
  83. {ansys_systemcoupling_core-0.3.1.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/RECORD +165 -164
  84. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/_add_participant.py +0 -0
  85. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/_solve.py +0 -0
  86. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/abort.py +0 -0
  87. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/activate_hidden.py +0 -0
  88. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_data_transfer.py +0 -0
  89. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_expression_function.py +0 -0
  90. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_named_expression.py +0 -0
  91. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_reference_frame.py +0 -0
  92. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_transformation.py +0 -0
  93. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/apip.py +0 -0
  94. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/ascii_output.py +0 -0
  95. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/attribute.py +0 -0
  96. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/attribute_child.py +0 -0
  97. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/available_ports.py +0 -0
  98. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/clear_state.py +0 -0
  99. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/coupling_interface.py +0 -0
  100. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/coupling_interface_child.py +0 -0
  101. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/coupling_participant.py +0 -0
  102. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/create_restart_point.py +0 -0
  103. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/data_transfer.py +0 -0
  104. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/data_transfer_child.py +0 -0
  105. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/delete_snapshot.py +0 -0
  106. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/delete_transformation.py +0 -0
  107. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/dimensionality.py +0 -0
  108. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/expression.py +0 -0
  109. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/expression_child.py +0 -0
  110. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/expression_function.py +0 -0
  111. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/expression_function_child.py +0 -0
  112. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/external_data_file.py +0 -0
  113. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/fmu_parameter.py +0 -0
  114. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/generate_input_file.py +0 -0
  115. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/get_execution_command.py +0 -0
  116. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/get_machines.py +0 -0
  117. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/get_region_names_for_participant.py +0 -0
  118. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/get_setup_summary.py +0 -0
  119. /ansys/systemcoupling/core/adaptor/{api_24_1 → api_23_1}/get_snapshots.py +0 -0
  120. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/get_status_messages.py +0 -0
  121. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/global_stabilization.py +0 -0
  122. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/import_system_coupling_input_file.py +0 -0
  123. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/initialize.py +0 -0
  124. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/instancing.py +0 -0
  125. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/instancing_child.py +0 -0
  126. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/interrupt.py +0 -0
  127. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/library.py +0 -0
  128. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/open.py +0 -0
  129. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/open_snapshot.py +0 -0
  130. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/partition_participants.py +0 -0
  131. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/reference_frame.py +0 -0
  132. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/reference_frame_child.py +0 -0
  133. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/region.py +0 -0
  134. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/reload_expression_function_modules.py +0 -0
  135. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/results.py +0 -0
  136. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/save.py +0 -0
  137. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/save_snapshot.py +0 -0
  138. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/shutdown.py +0 -0
  139. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/side.py +0 -0
  140. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/side_child.py +0 -0
  141. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/solve.py +0 -0
  142. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/stabilization.py +0 -0
  143. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/step.py +0 -0
  144. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/transformation.py +0 -0
  145. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/transformation_child.py +0 -0
  146. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/type.py +0 -0
  147. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/unmapped_value_options.py +0 -0
  148. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/update_control.py +0 -0
  149. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/variable.py +0 -0
  150. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/write_csv_chart_files.py +0 -0
  151. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/write_ensight.py +0 -0
  152. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/add_aerodamping_data_transfers.py +0 -0
  153. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/add_ordered_data_transfers.py +0 -0
  154. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/add_thermal_data_transfers.py +0 -0
  155. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/automatic_alignment_options.py +0 -0
  156. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/get_add_data_transfer_group_commands.py +0 -0
  157. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/get_mode_shape_variables.py +0 -0
  158. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/get_thermal_data_transfer_options.py +0 -0
  159. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/get_transformation.py +0 -0
  160. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/live_visualization.py +0 -0
  161. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/live_visualization_child.py +0 -0
  162. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/parameter.py +0 -0
  163. /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/parameter_child.py +0 -0
  164. {ansys_systemcoupling_core-0.3.1.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/LICENSE +0 -0
  165. {ansys_systemcoupling_core-0.3.1.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/WHEEL +0 -0
@@ -2,30 +2,37 @@
2
2
  # This is an auto-generated file. DO NOT EDIT!
3
3
  #
4
4
 
5
- SHASH = "faa921cc93dcfd82765876c7d8016504355fe48b9a4639cf4cef834646f944c7"
5
+ SHASH = "8e81ea84cd8d53f78719455f1af3cb4574a4ca5d37da4b5269211b224fff8259"
6
6
 
7
7
  from ansys.systemcoupling.core.adaptor.impl.types import *
8
8
 
9
9
  from ._add_participant import _add_participant
10
10
  from .activate_hidden import activate_hidden
11
+ from .add_aerodamping_data_transfers import add_aerodamping_data_transfers
11
12
  from .add_data_transfer import add_data_transfer
12
13
  from .add_data_transfer_by_display_names import add_data_transfer_by_display_names
13
14
  from .add_expression_function import add_expression_function
15
+ from .add_fsi_data_transfers import add_fsi_data_transfers
14
16
  from .add_interface import add_interface
15
17
  from .add_interface_by_display_names import add_interface_by_display_names
16
18
  from .add_named_expression import add_named_expression
19
+ from .add_ordered_data_transfers import add_ordered_data_transfers
17
20
  from .add_participant import add_participant
18
21
  from .add_reference_frame import add_reference_frame
22
+ from .add_thermal_data_transfers import add_thermal_data_transfers
19
23
  from .add_transformation import add_transformation
20
24
  from .analysis_control import analysis_control
21
25
  from .coupling_interface import coupling_interface
22
26
  from .coupling_participant import coupling_participant
23
27
  from .delete_transformation import delete_transformation
24
28
  from .generate_input_file import generate_input_file
29
+ from .get_add_data_transfer_group_commands import get_add_data_transfer_group_commands
25
30
  from .get_execution_command import get_execution_command
31
+ from .get_mode_shape_variables import get_mode_shape_variables
26
32
  from .get_region_names_for_participant import get_region_names_for_participant
27
33
  from .get_setup_summary import get_setup_summary
28
34
  from .get_status_messages import get_status_messages
35
+ from .get_thermal_data_transfer_options import get_thermal_data_transfer_options
29
36
  from .has_input_file_changed import has_input_file_changed
30
37
  from .import_system_coupling_input_file import import_system_coupling_input_file
31
38
  from .library import library
@@ -82,21 +89,28 @@ class setup_root(Container):
82
89
  """
83
90
  command_names = [
84
91
  "_add_participant",
92
+ "add_aerodamping_data_transfers",
85
93
  "add_data_transfer",
86
94
  "add_data_transfer_by_display_names",
87
95
  "add_expression_function",
96
+ "add_fsi_data_transfers",
88
97
  "add_interface",
89
98
  "add_interface_by_display_names",
90
99
  "add_named_expression",
100
+ "add_ordered_data_transfers",
91
101
  "add_participant",
92
102
  "add_reference_frame",
103
+ "add_thermal_data_transfers",
93
104
  "add_transformation",
94
105
  "delete_transformation",
95
106
  "generate_input_file",
107
+ "get_add_data_transfer_group_commands",
96
108
  "get_execution_command",
109
+ "get_mode_shape_variables",
97
110
  "get_region_names_for_participant",
98
111
  "get_setup_summary",
99
112
  "get_status_messages",
113
+ "get_thermal_data_transfer_options",
100
114
  "has_input_file_changed",
101
115
  "import_system_coupling_input_file",
102
116
  "reload_expression_function_modules",
@@ -107,6 +121,12 @@ class setup_root(Container):
107
121
  """
108
122
  _add_participant command of setup_root.
109
123
  """
124
+ add_aerodamping_data_transfers: add_aerodamping_data_transfers = (
125
+ add_aerodamping_data_transfers
126
+ )
127
+ """
128
+ add_aerodamping_data_transfers command of setup_root.
129
+ """
110
130
  add_data_transfer: add_data_transfer = add_data_transfer
111
131
  """
112
132
  add_data_transfer command of setup_root.
@@ -121,6 +141,10 @@ class setup_root(Container):
121
141
  """
122
142
  add_expression_function command of setup_root.
123
143
  """
144
+ add_fsi_data_transfers: add_fsi_data_transfers = add_fsi_data_transfers
145
+ """
146
+ add_fsi_data_transfers command of setup_root.
147
+ """
124
148
  add_interface: add_interface = add_interface
125
149
  """
126
150
  add_interface command of setup_root.
@@ -135,6 +159,10 @@ class setup_root(Container):
135
159
  """
136
160
  add_named_expression command of setup_root.
137
161
  """
162
+ add_ordered_data_transfers: add_ordered_data_transfers = add_ordered_data_transfers
163
+ """
164
+ add_ordered_data_transfers command of setup_root.
165
+ """
138
166
  add_participant: add_participant = add_participant
139
167
  """
140
168
  add_participant command of setup_root.
@@ -143,6 +171,10 @@ class setup_root(Container):
143
171
  """
144
172
  add_reference_frame command of setup_root.
145
173
  """
174
+ add_thermal_data_transfers: add_thermal_data_transfers = add_thermal_data_transfers
175
+ """
176
+ add_thermal_data_transfers command of setup_root.
177
+ """
146
178
  add_transformation: add_transformation = add_transformation
147
179
  """
148
180
  add_transformation command of setup_root.
@@ -155,10 +187,20 @@ class setup_root(Container):
155
187
  """
156
188
  generate_input_file command of setup_root.
157
189
  """
190
+ get_add_data_transfer_group_commands: get_add_data_transfer_group_commands = (
191
+ get_add_data_transfer_group_commands
192
+ )
193
+ """
194
+ get_add_data_transfer_group_commands command of setup_root.
195
+ """
158
196
  get_execution_command: get_execution_command = get_execution_command
159
197
  """
160
198
  get_execution_command command of setup_root.
161
199
  """
200
+ get_mode_shape_variables: get_mode_shape_variables = get_mode_shape_variables
201
+ """
202
+ get_mode_shape_variables command of setup_root.
203
+ """
162
204
  get_region_names_for_participant: get_region_names_for_participant = (
163
205
  get_region_names_for_participant
164
206
  )
@@ -173,6 +215,12 @@ class setup_root(Container):
173
215
  """
174
216
  get_status_messages command of setup_root.
175
217
  """
218
+ get_thermal_data_transfer_options: get_thermal_data_transfer_options = (
219
+ get_thermal_data_transfer_options
220
+ )
221
+ """
222
+ get_thermal_data_transfer_options command of setup_root.
223
+ """
176
224
  has_input_file_changed: has_input_file_changed = has_input_file_changed
177
225
  """
178
226
  has_input_file_changed command of setup_root.
@@ -27,6 +27,8 @@ class solution_control(Container):
27
27
  ("time_step_size", "TimeStepSize", "RealType"),
28
28
  ("minimum_iterations", "MinimumIterations", "int"),
29
29
  ("maximum_iterations", "MaximumIterations", "int"),
30
+ ("use_ip_address_when_possible", "UseIPAddressWhenPossible", "bool"),
31
+ ("use_local_host_when_possible", "UseLocalHostWhenPossible", "bool"),
30
32
  ]
31
33
 
32
34
  @property
@@ -89,3 +91,25 @@ class solution_control(Container):
89
91
  @maximum_iterations.setter
90
92
  def maximum_iterations(self, value: int):
91
93
  self.set_property_state("maximum_iterations", value)
94
+
95
+ @property
96
+ def use_ip_address_when_possible(self) -> bool:
97
+ """If True (the default), prefer to use IPv4 address rather than hostname for
98
+ participant server connections. There is no guarantee that this request
99
+ can be satisfied for all participants."""
100
+ return self.get_property_state("use_ip_address_when_possible")
101
+
102
+ @use_ip_address_when_possible.setter
103
+ def use_ip_address_when_possible(self, value: bool):
104
+ self.set_property_state("use_ip_address_when_possible", value)
105
+
106
+ @property
107
+ def use_local_host_when_possible(self) -> bool:
108
+ """If True, prefer to use local host address rather than network address for
109
+ participant server connections. There is no guarantee that this request
110
+ can be satisfied for all participants."""
111
+ return self.get_property_state("use_local_host_when_possible")
112
+
113
+ @use_local_host_when_possible.setter
114
+ def use_local_host_when_possible(self, value: bool):
115
+ self.set_property_state("use_local_host_when_possible", value)
@@ -2,7 +2,7 @@
2
2
  # This is an auto-generated file. DO NOT EDIT!
3
3
  #
4
4
 
5
- SHASH = "54b4aa678f0aea8cebeca86bcd71b2877e846e53079c2bf52974d5e039ed3719"
5
+ SHASH = "92304eda8d03ebade30fb915bf1f0ab24f3d545b0d394f9d2ab9674b4bfd27fd"
6
6
 
7
7
  from ansys.systemcoupling.core.adaptor.impl.types import *
8
8
 
@@ -10,6 +10,7 @@ from ._solve import _solve
10
10
  from .abort import abort
11
11
  from .create_restart_point import create_restart_point
12
12
  from .get_machines import get_machines
13
+ from .get_transformation import get_transformation
13
14
  from .initialize import initialize
14
15
  from .interrupt import interrupt
15
16
  from .open_results_in_ensight import open_results_in_ensight
@@ -34,6 +35,7 @@ class solution_root(Container):
34
35
  "abort",
35
36
  "create_restart_point",
36
37
  "get_machines",
38
+ "get_transformation",
37
39
  "initialize",
38
40
  "interrupt",
39
41
  "open_results_in_ensight",
@@ -62,6 +64,10 @@ class solution_root(Container):
62
64
  """
63
65
  get_machines command of solution_root.
64
66
  """
67
+ get_transformation: get_transformation = get_transformation
68
+ """
69
+ get_transformation command of solution_root.
70
+ """
65
71
  initialize: initialize = initialize
66
72
  """
67
73
  initialize command of solution_root.
@@ -7,7 +7,7 @@ from ansys.systemcoupling.core.adaptor.impl.types import *
7
7
 
8
8
  class start_participants(Command):
9
9
  """
10
- Important: This command will be deprecated. Consider adopting workflows
10
+ Important: This command is deprecated. Consider adopting workflows
11
11
  where participants are started by another method, such as the ``initialize``,
12
12
  ``step``, or ``solve`` commands.
13
13
 
@@ -9,8 +9,8 @@ class update_participant(Command):
9
9
  """
10
10
  Given the name of a server participant, updates the state of the participant.
11
11
 
12
- Available for server participants. Currently, only ``DEFAULT-SRV``,
13
- ``CFD-SRV``, and ``MECH-SRV`` participants may be updated.
12
+ Available for server participants. Currently, only DEFAULT-SRV,
13
+ CFD-SRV, MECH-SRV, and SCDT-SRV participants may be updated.
14
14
 
15
15
  As part of the update, System Coupling updates all regions and
16
16
  variables defined in the participant, including all variable
@@ -29,12 +29,12 @@ class update_participant(Command):
29
29
  ----------
30
30
  participant_name : str
31
31
  Participant name. Must be the name of an existing participant.
32
- Participant type can be either DEFAULT-SRV, MECH-SRV, or CFD-SRV.
32
+ Participant type can be either DEFAULT-SRV, CFD-SRV, MECH-SRV, or SCDT-SRV.
33
33
  input_file : str, optional
34
34
  Name of the input file for the participant to be added.
35
35
  Currently supported formats are SCP files, Forte input (FTSIM)
36
- files, mechanical server (*.rst) files, cfd server (*.csv) files,
37
- and FMU (.fmu) files (Beta).
36
+ files, mechanical server (\*.rst) files, cfd server (\*.csv) files,
37
+ FMU (.fmu) files (Beta), and system coupling data server (\*.scdt/axdt/csv) files.
38
38
 
39
39
  """
40
40
 
@@ -45,7 +45,7 @@ class update_participant(Command):
45
45
  class participant_name(String):
46
46
  """
47
47
  Participant name. Must be the name of an existing participant.
48
- Participant type can be either DEFAULT-SRV, MECH-SRV, or CFD-SRV.
48
+ Participant type can be either DEFAULT-SRV, CFD-SRV, MECH-SRV, or SCDT-SRV.
49
49
  """
50
50
 
51
51
  syc_name = "ParticipantName"
@@ -54,8 +54,8 @@ class update_participant(Command):
54
54
  """
55
55
  Name of the input file for the participant to be added.
56
56
  Currently supported formats are SCP files, Forte input (FTSIM)
57
- files, mechanical server (*.rst) files, cfd server (*.csv) files,
58
- and FMU (.fmu) files (Beta).
57
+ files, mechanical server (\*.rst) files, cfd server (\*.csv) files,
58
+ FMU (.fmu) files (Beta), and system coupling data server (\*.scdt/axdt/csv) files.
59
59
  """
60
60
 
61
61
  syc_name = "InputFile"
@@ -30,10 +30,13 @@ class variable_child(Container):
30
30
  ("integer_initial_value", "IntegerInitialValue", "int"),
31
31
  ("logical_initial_value", "LogicalInitialValue", "bool"),
32
32
  ("string_initial_value", "StringInitialValue", "str"),
33
+ ("enumeration_initial_value", "EnumerationInitialValue", "int"),
33
34
  ("real_min", "RealMin", "RealType"),
34
35
  ("real_max", "RealMax", "RealType"),
35
36
  ("integer_min", "IntegerMin", "int"),
36
37
  ("integer_max", "IntegerMax", "int"),
38
+ ("enumeration_min", "EnumerationMin", "int"),
39
+ ("enumeration_max", "EnumerationMax", "int"),
37
40
  ("tensor_type", "TensorType", "str"),
38
41
  ("is_extensive", "IsExtensive", "bool"),
39
42
  ]
@@ -101,7 +104,7 @@ class variable_child(Container):
101
104
  - Integer
102
105
  - Logical
103
106
  - String
104
- - None"""
107
+ - Enumeration"""
105
108
  return self.get_property_state("data_type")
106
109
 
107
110
  @data_type.setter
@@ -144,6 +147,15 @@ class variable_child(Container):
144
147
  def string_initial_value(self, value: str):
145
148
  self.set_property_state("string_initial_value", value)
146
149
 
150
+ @property
151
+ def enumeration_initial_value(self) -> int:
152
+ """Enumeration data start value."""
153
+ return self.get_property_state("enumeration_initial_value")
154
+
155
+ @enumeration_initial_value.setter
156
+ def enumeration_initial_value(self, value: int):
157
+ self.set_property_state("enumeration_initial_value", value)
158
+
147
159
  @property
148
160
  def real_min(self) -> RealType:
149
161
  """Real data minimum value."""
@@ -180,6 +192,24 @@ class variable_child(Container):
180
192
  def integer_max(self, value: int):
181
193
  self.set_property_state("integer_max", value)
182
194
 
195
+ @property
196
+ def enumeration_min(self) -> int:
197
+ """Enumeration data minimum value."""
198
+ return self.get_property_state("enumeration_min")
199
+
200
+ @enumeration_min.setter
201
+ def enumeration_min(self, value: int):
202
+ self.set_property_state("enumeration_min", value)
203
+
204
+ @property
205
+ def enumeration_max(self) -> int:
206
+ """Enumeration data maximum value."""
207
+ return self.get_property_state("enumeration_max")
208
+
209
+ @enumeration_max.setter
210
+ def enumeration_max(self, value: int):
211
+ self.set_property_state("enumeration_max", value)
212
+
183
213
  @property
184
214
  def tensor_type(self) -> str:
185
215
  """Indicates the variable tensor type (\"Scalar\" or \"Vector\").
@@ -1,3 +1,25 @@
1
+ # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
1
23
  """Local implementation of the System Coupling ``GetErrors`` command, to be injected
2
24
  into the ``setup`` hierarchy.
3
25
  """
@@ -1,4 +1,28 @@
1
- from ansys.systemcoupling.core.syc_version import SYC_VERSION_DOT
1
+ # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
23
+ # This is the version we assume if no GetVersion query is available from
24
+ # the SyC server.
25
+ _FALLBACK_VERSION = "23.1"
2
26
 
3
27
 
4
28
  def get_syc_version(api) -> str:
@@ -32,4 +56,4 @@ def get_syc_version(api) -> str:
32
56
 
33
57
  cmds = api.GetCommandAndQueryMetadata()
34
58
  exists = any(cmd["name"] == "GetVersion" for cmd in cmds)
35
- return clean_version_string(api.GetVersion()) if exists else SYC_VERSION_DOT
59
+ return clean_version_string(api.GetVersion()) if exists else _FALLBACK_VERSION
@@ -1,7 +1,30 @@
1
+ # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
1
23
  from copy import deepcopy
2
24
  from typing import Callable, Dict
3
25
 
4
26
  from ansys.systemcoupling.core.participant.manager import ParticipantManager
27
+ from ansys.systemcoupling.core.participant.mapdl import MapdlSystemCouplingInterface
5
28
  from ansys.systemcoupling.core.syc_version import compare_versions
6
29
  from ansys.systemcoupling.core.util.yaml_helper import yaml_load_from_string
7
30
 
@@ -61,6 +84,12 @@ def _wrap_add_participant(
61
84
  "support this form of 'add_participant'. Minimum version is '24.1'."
62
85
  )
63
86
 
87
+ # special handling for mapdl session
88
+ if "ansys.mapdl.core.mapdl_grpc.MapdlGrpc" in str(type(session)):
89
+ return part_mgr.add_participant(
90
+ participant_session=MapdlSystemCouplingInterface(session)
91
+ )
92
+
64
93
  if not hasattr(session, "system_coupling"):
65
94
  raise RuntimeError(
66
95
  "The 'participant_session' parameter does not provide a "
@@ -1,3 +1,25 @@
1
+ # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
1
23
  """Source of adaptor API "root" classes and related functionality.
2
24
 
3
25
  At runtime, the key function provided here is ``get_root``. This
@@ -21,7 +43,6 @@ pre-generated classes, runtime classes that are consistent with the System Coupl
21
43
  server are constructed and returned.
22
44
  """
23
45
 
24
-
25
46
  import hashlib
26
47
  import importlib
27
48
  import json
@@ -1,3 +1,25 @@
1
+ # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
1
23
  from copy import deepcopy
2
24
  from typing import Dict, List, Tuple
3
25
 
@@ -1,3 +1,25 @@
1
+ # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
1
23
  from ansys.systemcoupling.core.adaptor.impl.get_syc_version import get_syc_version
2
24
  from ansys.systemcoupling.core.adaptor.impl.static_info import (
3
25
  get_dm_metadata,
@@ -1,3 +1,25 @@
1
+ # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
1
23
  from abc import ABC, abstractmethod
2
24
 
3
25
 
@@ -1,3 +1,25 @@
1
+ # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
1
23
  """
2
24
  Implementation types for the System Coupling adaptor API.
3
25
 
@@ -23,6 +45,7 @@ setup.solution_control.time_step_size = "0.1 [s]"
23
45
  setup.solution_control.print_state()
24
46
  assert setup.solution_control.time_step_size == "0.1 [s]"
25
47
  """
48
+
26
49
  import collections
27
50
  import keyword
28
51
  import sys
@@ -1,3 +1,25 @@
1
+ # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
1
23
  import atexit
2
24
  import itertools
3
25
  import json
@@ -1,3 +1,25 @@
1
+ # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
1
23
  import ansys.api.systemcoupling.v0.command_pb2_grpc as command_pb2_grpc
2
24
  import ansys.api.systemcoupling.v0.error_pb2 as syc_error_pb2
3
25
  import grpc