ansys-systemcoupling-core 0.9.0__py3-none-any.whl → 0.10.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 +1 -1
- ansys/systemcoupling/core/adaptor/api_25_2/add_data_transfer.py +9 -9
- ansys/systemcoupling/core/adaptor/api_25_2/add_interface.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_2/add_ordered_data_transfers.py +12 -3
- ansys/systemcoupling/core/adaptor/api_25_2/add_participant.py +27 -12
- ansys/systemcoupling/core/adaptor/api_25_2/add_transformation.py +14 -14
- ansys/systemcoupling/core/adaptor/api_25_2/analysis_control.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_2/attribute.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_2/attribute_child.py +12 -2
- ansys/systemcoupling/core/adaptor/api_25_2/case_root.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_2/create_restart_point.py +4 -5
- ansys/systemcoupling/core/adaptor/api_25_2/data_transfer_child.py +9 -1
- ansys/systemcoupling/core/adaptor/api_25_2/delete_snapshot.py +3 -1
- ansys/systemcoupling/core/adaptor/api_25_2/execution_control.py +10 -0
- ansys/systemcoupling/core/adaptor/api_25_2/generate_input_file.py +12 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_execution_command.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_2/get_machines.py +22 -1
- ansys/systemcoupling/core/adaptor/api_25_2/get_region_names_for_participant.py +6 -5
- ansys/systemcoupling/core/adaptor/api_25_2/mapping_control.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open.py +19 -14
- ansys/systemcoupling/core/adaptor/api_25_2/partition_participants.py +48 -38
- ansys/systemcoupling/core/adaptor/api_25_2/save.py +17 -15
- ansys/systemcoupling/core/adaptor/api_25_2/setup_root.py +1 -17
- ansys/systemcoupling/core/adaptor/api_25_2/solution_control.py +10 -0
- ansys/systemcoupling/core/adaptor/api_25_2/solution_root.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_2/solve.py +5 -5
- ansys/systemcoupling/core/adaptor/api_25_2/update_participant.py +4 -4
- ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +4 -1
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +3 -1
- ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +34 -4
- ansys/systemcoupling/core/charts/csv_chartdata.py +4 -3
- ansys/systemcoupling/core/charts/plot_functions.py +12 -4
- ansys/systemcoupling/core/charts/plotter.py +3 -2
- ansys/systemcoupling/core/client/grpc_client.py +11 -2
- ansys/systemcoupling/core/client/syc_container.py +40 -35
- ansys/systemcoupling/core/client/syc_process.py +5 -2
- ansys/systemcoupling/core/native_api/datamodel_metadata.py +3 -2
- ansys/systemcoupling/core/native_api/object_path.py +2 -1
- ansys/systemcoupling/core/syc_version.py +1 -1
- ansys/systemcoupling/core/util/assertion.py +38 -0
- ansys/systemcoupling/core/util/file_transfer.py +2 -1
- ansys/systemcoupling/core/util/state_keys.py +11 -2
- ansys/systemcoupling/core/util/yaml_helper.py +5 -5
- {ansys_systemcoupling_core-0.9.0.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/METADATA +14 -8
- {ansys_systemcoupling_core-0.9.0.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/RECORD +47 -48
- {ansys_systemcoupling_core-0.9.0.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/WHEEL +1 -1
- ansys/systemcoupling/core/adaptor/api_25_2/add_data_transfer_by_display_names.py +0 -191
- ansys/systemcoupling/core/adaptor/api_25_2/add_interface_by_display_names.py +0 -78
- {ansys_systemcoupling_core-0.9.0.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,191 +0,0 @@
|
|
|
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 add_data_transfer_by_display_names(Command):
|
|
9
|
-
"""
|
|
10
|
-
Important: This command is deprecated. To add an interface, use the
|
|
11
|
-
``add_data_transfer`` command instead.
|
|
12
|
-
|
|
13
|
-
Adds data transfer based on arguments that specify the interface, target
|
|
14
|
-
side, and variables to be associated with each side of the interface.
|
|
15
|
-
The command requires that you specify variables using their display names
|
|
16
|
-
(see parameter descriptions for details). Either a variable-based
|
|
17
|
-
or expression-based data transfer may be created with this command based on
|
|
18
|
-
the arguments provided. If a variable-based data transfer argument
|
|
19
|
-
is given, then no expression-based data transfer arguments can be used. If
|
|
20
|
-
an expression-based data transfer argument is given, then no variable-based
|
|
21
|
-
data transfer arguments can be used.
|
|
22
|
-
|
|
23
|
-
Cannot be run after participants have been started.
|
|
24
|
-
|
|
25
|
-
Returns the name of the Data Transfer created.
|
|
26
|
-
|
|
27
|
-
Parameters
|
|
28
|
-
----------
|
|
29
|
-
interface : str
|
|
30
|
-
String indicating the display name of the interface on which the
|
|
31
|
-
data transfer is to be created.
|
|
32
|
-
target_side : str
|
|
33
|
-
String indicating the side of the interface to receive the data
|
|
34
|
-
transfer variable. Possible values are \"One\" or \"Two\".
|
|
35
|
-
source_variable : str, optional
|
|
36
|
-
String specifying the display name of the variable on the source side of
|
|
37
|
-
the data transfer. Used when creating a variable-based data transfer.
|
|
38
|
-
Must be combined with ``target_variable``.
|
|
39
|
-
target_variable : str, optional
|
|
40
|
-
String specifying the display name of the variable on the target side of
|
|
41
|
-
the data transfer. Must be combined with either ``source_variable`` (when
|
|
42
|
-
creating a variable-based data transfer) or with ``value_{x|y|z}``
|
|
43
|
-
(when creating an expression-based data transfer).
|
|
44
|
-
value : str, optional
|
|
45
|
-
String specifying the expression to use on the source side of the data
|
|
46
|
-
transfer. Used when creating an expression-based data transfer if the
|
|
47
|
-
``target_variable`` is a scalar. (If the ``target_variable`` is a vector,
|
|
48
|
-
``value_x``, ``value_y``, ``value_z`` must be used instead.)
|
|
49
|
-
value_x : str, optional
|
|
50
|
-
String specifying the X component of the expression to use on the
|
|
51
|
-
source side of the data transfer. Used when crating an expression-based
|
|
52
|
-
data transfer if the ``target_variable`` is a vector. (If the ``target_variable``
|
|
53
|
-
is scalar, ``value`` must be used instead.) ``value_y`` and ``value_z`` are also
|
|
54
|
-
required if ``value_x`` is used.
|
|
55
|
-
value_y : str, optional
|
|
56
|
-
String specifying the Y component of the expression to use on the
|
|
57
|
-
source side of the data transfer. Used when crating an expression-based
|
|
58
|
-
data transfer if the ``target_variable`` is a vector. (If the ``target_variable``
|
|
59
|
-
is scalar, ``value`` must be used instead.) ``value_x`` and ``value_z`` are also
|
|
60
|
-
required if ``value_y`` is used.
|
|
61
|
-
value_z : str, optional
|
|
62
|
-
String specifying the Z component of the expression to use on the
|
|
63
|
-
source side of the data transfer. Used when crating an expression-based
|
|
64
|
-
data transfer if the ``target_variable`` is a vector. (If the ``target_variable``
|
|
65
|
-
is scalar, ``value`` must be used instead.) ``value_x`` and ``value_y`` are also
|
|
66
|
-
required if ``value_z`` is used.
|
|
67
|
-
side_one_variable : str, optional
|
|
68
|
-
String specifying the display name of the variable associated with side one
|
|
69
|
-
of the interface. Must be combined with ``side_two_variable``. Used only
|
|
70
|
-
when creating variable-based data transfers. Consider using
|
|
71
|
-
``source_variable``/``target_variable`` parameters instead.
|
|
72
|
-
side_two_variable : str, optional
|
|
73
|
-
String specifying the display name of the variable associated with side two
|
|
74
|
-
of the interface. Must be combined with ``side_two_variable``. Used only
|
|
75
|
-
when creating variable-based data transfers. Consider using
|
|
76
|
-
``source_variable``/``target_variable`` parameters instead.
|
|
77
|
-
|
|
78
|
-
"""
|
|
79
|
-
|
|
80
|
-
syc_name = "AddDataTransferByDisplayNames"
|
|
81
|
-
|
|
82
|
-
argument_names = [
|
|
83
|
-
"interface",
|
|
84
|
-
"target_side",
|
|
85
|
-
"source_variable",
|
|
86
|
-
"target_variable",
|
|
87
|
-
"value",
|
|
88
|
-
"value_x",
|
|
89
|
-
"value_y",
|
|
90
|
-
"value_z",
|
|
91
|
-
"side_one_variable",
|
|
92
|
-
"side_two_variable",
|
|
93
|
-
]
|
|
94
|
-
|
|
95
|
-
class interface(String):
|
|
96
|
-
"""
|
|
97
|
-
String indicating the display name of the interface on which the
|
|
98
|
-
data transfer is to be created.
|
|
99
|
-
"""
|
|
100
|
-
|
|
101
|
-
syc_name = "Interface"
|
|
102
|
-
|
|
103
|
-
class target_side(String):
|
|
104
|
-
"""
|
|
105
|
-
String indicating the side of the interface to receive the data
|
|
106
|
-
transfer variable. Possible values are \"One\" or \"Two\".
|
|
107
|
-
"""
|
|
108
|
-
|
|
109
|
-
syc_name = "TargetSide"
|
|
110
|
-
|
|
111
|
-
class source_variable(String):
|
|
112
|
-
"""
|
|
113
|
-
String specifying the display name of the variable on the source side of
|
|
114
|
-
the data transfer. Used when creating a variable-based data transfer.
|
|
115
|
-
Must be combined with ``target_variable``.
|
|
116
|
-
"""
|
|
117
|
-
|
|
118
|
-
syc_name = "SourceVariable"
|
|
119
|
-
|
|
120
|
-
class target_variable(String):
|
|
121
|
-
"""
|
|
122
|
-
String specifying the display name of the variable on the target side of
|
|
123
|
-
the data transfer. Must be combined with either ``source_variable`` (when
|
|
124
|
-
creating a variable-based data transfer) or with ``value_{x|y|z}``
|
|
125
|
-
(when creating an expression-based data transfer).
|
|
126
|
-
"""
|
|
127
|
-
|
|
128
|
-
syc_name = "TargetVariable"
|
|
129
|
-
|
|
130
|
-
class value(String):
|
|
131
|
-
"""
|
|
132
|
-
String specifying the expression to use on the source side of the data
|
|
133
|
-
transfer. Used when creating an expression-based data transfer if the
|
|
134
|
-
``target_variable`` is a scalar. (If the ``target_variable`` is a vector,
|
|
135
|
-
``value_x``, ``value_y``, ``value_z`` must be used instead.)
|
|
136
|
-
"""
|
|
137
|
-
|
|
138
|
-
syc_name = "Value"
|
|
139
|
-
|
|
140
|
-
class value_x(String):
|
|
141
|
-
"""
|
|
142
|
-
String specifying the X component of the expression to use on the
|
|
143
|
-
source side of the data transfer. Used when crating an expression-based
|
|
144
|
-
data transfer if the ``target_variable`` is a vector. (If the ``target_variable``
|
|
145
|
-
is scalar, ``value`` must be used instead.) ``value_y`` and ``value_z`` are also
|
|
146
|
-
required if ``value_x`` is used.
|
|
147
|
-
"""
|
|
148
|
-
|
|
149
|
-
syc_name = "ValueX"
|
|
150
|
-
|
|
151
|
-
class value_y(String):
|
|
152
|
-
"""
|
|
153
|
-
String specifying the Y component of the expression to use on the
|
|
154
|
-
source side of the data transfer. Used when crating an expression-based
|
|
155
|
-
data transfer if the ``target_variable`` is a vector. (If the ``target_variable``
|
|
156
|
-
is scalar, ``value`` must be used instead.) ``value_x`` and ``value_z`` are also
|
|
157
|
-
required if ``value_y`` is used.
|
|
158
|
-
"""
|
|
159
|
-
|
|
160
|
-
syc_name = "ValueY"
|
|
161
|
-
|
|
162
|
-
class value_z(String):
|
|
163
|
-
"""
|
|
164
|
-
String specifying the Z component of the expression to use on the
|
|
165
|
-
source side of the data transfer. Used when crating an expression-based
|
|
166
|
-
data transfer if the ``target_variable`` is a vector. (If the ``target_variable``
|
|
167
|
-
is scalar, ``value`` must be used instead.) ``value_x`` and ``value_y`` are also
|
|
168
|
-
required if ``value_z`` is used.
|
|
169
|
-
"""
|
|
170
|
-
|
|
171
|
-
syc_name = "ValueZ"
|
|
172
|
-
|
|
173
|
-
class side_one_variable(String):
|
|
174
|
-
"""
|
|
175
|
-
String specifying the display name of the variable associated with side one
|
|
176
|
-
of the interface. Must be combined with ``side_two_variable``. Used only
|
|
177
|
-
when creating variable-based data transfers. Consider using
|
|
178
|
-
``source_variable``/``target_variable`` parameters instead.
|
|
179
|
-
"""
|
|
180
|
-
|
|
181
|
-
syc_name = "SideOneVariable"
|
|
182
|
-
|
|
183
|
-
class side_two_variable(String):
|
|
184
|
-
"""
|
|
185
|
-
String specifying the display name of the variable associated with side two
|
|
186
|
-
of the interface. Must be combined with ``side_two_variable``. Used only
|
|
187
|
-
when creating variable-based data transfers. Consider using
|
|
188
|
-
``source_variable``/``target_variable`` parameters instead.
|
|
189
|
-
"""
|
|
190
|
-
|
|
191
|
-
syc_name = "SideTwoVariable"
|
|
@@ -1,78 +0,0 @@
|
|
|
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 add_interface_by_display_names(Command):
|
|
9
|
-
"""
|
|
10
|
-
Important: This command is deprecated. To add an interface, use the
|
|
11
|
-
``add_interface`` command instead.
|
|
12
|
-
|
|
13
|
-
Adds an interface based on the participant and region display names specified
|
|
14
|
-
as arguments for each side of the interface. This command requires that you
|
|
15
|
-
specify participants and regions using their *display* names (see parameter
|
|
16
|
-
descriptions for details).
|
|
17
|
-
|
|
18
|
-
Cannot be run after participants have been started.
|
|
19
|
-
|
|
20
|
-
Returns the name of the Interface created.
|
|
21
|
-
|
|
22
|
-
Parameters
|
|
23
|
-
----------
|
|
24
|
-
side_one_participant : str
|
|
25
|
-
String indicating the name of the participant to be associated with
|
|
26
|
-
side \"One\" of the interface.
|
|
27
|
-
side_one_regions : List
|
|
28
|
-
List specifying the name(s) of region(s) to be added to side \"One\" of
|
|
29
|
-
the interface.
|
|
30
|
-
side_two_participant : str
|
|
31
|
-
String indicating the name of the participant to be associated with
|
|
32
|
-
side \"Two\" of the interface.
|
|
33
|
-
side_two_regions : List
|
|
34
|
-
List specifying the name(s) of region(s) to be added to side \"Two\"
|
|
35
|
-
of the interface.
|
|
36
|
-
|
|
37
|
-
"""
|
|
38
|
-
|
|
39
|
-
syc_name = "AddInterfaceByDisplayNames"
|
|
40
|
-
|
|
41
|
-
argument_names = [
|
|
42
|
-
"side_one_participant",
|
|
43
|
-
"side_one_regions",
|
|
44
|
-
"side_two_participant",
|
|
45
|
-
"side_two_regions",
|
|
46
|
-
]
|
|
47
|
-
|
|
48
|
-
class side_one_participant(String):
|
|
49
|
-
"""
|
|
50
|
-
String indicating the name of the participant to be associated with
|
|
51
|
-
side \"One\" of the interface.
|
|
52
|
-
"""
|
|
53
|
-
|
|
54
|
-
syc_name = "SideOneParticipant"
|
|
55
|
-
|
|
56
|
-
class side_one_regions(StringList):
|
|
57
|
-
"""
|
|
58
|
-
List specifying the name(s) of region(s) to be added to side \"One\" of
|
|
59
|
-
the interface.
|
|
60
|
-
"""
|
|
61
|
-
|
|
62
|
-
syc_name = "SideOneRegions"
|
|
63
|
-
|
|
64
|
-
class side_two_participant(String):
|
|
65
|
-
"""
|
|
66
|
-
String indicating the name of the participant to be associated with
|
|
67
|
-
side \"Two\" of the interface.
|
|
68
|
-
"""
|
|
69
|
-
|
|
70
|
-
syc_name = "SideTwoParticipant"
|
|
71
|
-
|
|
72
|
-
class side_two_regions(StringList):
|
|
73
|
-
"""
|
|
74
|
-
List specifying the name(s) of region(s) to be added to side \"Two\"
|
|
75
|
-
of the interface.
|
|
76
|
-
"""
|
|
77
|
-
|
|
78
|
-
syc_name = "SideTwoRegions"
|
|
File without changes
|