ansys-systemcoupling-core 0.1.3__py3-none-any.whl → 0.3.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 +27 -17
- ansys/systemcoupling/core/adaptor/api_23_2/_add_participant.py +70 -0
- ansys/systemcoupling/core/adaptor/api_23_2/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_participant.py +38 -2
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/analysis_control.py +8 -0
- ansys/systemcoupling/core/adaptor/api_23_2/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/avoid_data_reconstruction.py +10 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/coupling_participant_child.py +1 -1
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/fmu_parameter_child.py +30 -0
- ansys/systemcoupling/core/adaptor/api_23_2/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_23_2/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_2/live_visualization_child.py +72 -0
- ansys/systemcoupling/core/adaptor/api_23_2/open_results_in_en_sight.py +56 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/output_control.py +6 -1
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/setup_root.py +55 -49
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/solution_root.py +48 -36
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/solve.py +1 -1
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/variable_child.py +31 -0
- ansys/systemcoupling/core/adaptor/api_24_1/_add_participant.py +70 -0
- ansys/systemcoupling/core/adaptor/api_24_1/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_1/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_24_1/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer_by_display_names.py +191 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface.py +77 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface_by_display_names.py +78 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_participant.py +140 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +249 -0
- ansys/systemcoupling/core/adaptor/api_24_1/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_24_1/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_24_1/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/attribute_child.py +54 -0
- ansys/systemcoupling/core/adaptor/api_24_1/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_24_1/avoid_data_reconstruction.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_1/clear_state.py +16 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +230 -0
- ansys/systemcoupling/core/adaptor/api_24_1/create_restart_point.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_1/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/data_transfer_child.py +187 -0
- ansys/systemcoupling/core/adaptor/api_24_1/delete_snapshot.py +28 -0
- ansys/systemcoupling/core/adaptor/api_24_1/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_1/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +186 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_24_1/fluent_input.py +67 -0
- ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter_child.py +156 -0
- ansys/systemcoupling/core/adaptor/api_24_1/generate_input_file.py +41 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_machines.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_region_names_for_participant.py +31 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_snapshots.py +14 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_1/global_stabilization.py +143 -0
- ansys/systemcoupling/core/adaptor/api_24_1/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_1/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_1/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_24_1/instancing.py +23 -0
- ansys/systemcoupling/core/adaptor/api_24_1/instancing_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_1/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_24_1/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_24_1/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/live_visualization_child.py +72 -0
- ansys/systemcoupling/core/adaptor/api_24_1/mapping_control.py +229 -0
- ansys/systemcoupling/core/adaptor/api_24_1/open.py +102 -0
- ansys/systemcoupling/core/adaptor/api_24_1/open_results_in_en_sight.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_1/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_24_1/output_control.py +134 -0
- ansys/systemcoupling/core/adaptor/api_24_1/parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/parameter_child.py +64 -0
- ansys/systemcoupling/core/adaptor/api_24_1/partition_participants.py +138 -0
- ansys/systemcoupling/core/adaptor/api_24_1/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_24_1/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/region_child.py +72 -0
- ansys/systemcoupling/core/adaptor/api_24_1/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_24_1/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_24_1/save.py +51 -0
- ansys/systemcoupling/core/adaptor/api_24_1/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +195 -0
- ansys/systemcoupling/core/adaptor/api_24_1/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_24_1/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +103 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +110 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_1/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_24_1/start_participants.py +47 -0
- ansys/systemcoupling/core/adaptor/api_24_1/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_24_1/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_24_1/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_1/type.py +38 -0
- ansys/systemcoupling/core/adaptor/api_24_1/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_24_1/update_control.py +44 -0
- ansys/systemcoupling/core/adaptor/api_24_1/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_24_1/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +232 -0
- ansys/systemcoupling/core/adaptor/api_24_1/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_24_1/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +35 -0
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +97 -5
- ansys/systemcoupling/core/adaptor/impl/root_source.py +2 -0
- ansys/systemcoupling/core/adaptor/impl/static_info.py +69 -40
- ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/types.py +12 -0
- ansys/systemcoupling/core/client/grpc_client.py +14 -4
- ansys/systemcoupling/core/client/syc_container.py +18 -3
- ansys/systemcoupling/core/client/syc_process.py +33 -7
- ansys/systemcoupling/core/examples/downloads.py +2 -2
- ansys/systemcoupling/core/participant/manager.py +198 -0
- ansys/systemcoupling/core/participant/protocol.py +51 -0
- ansys/systemcoupling/core/session.py +8 -2
- ansys/systemcoupling/core/syc_version.py +82 -0
- {ansys_systemcoupling_core-0.1.3.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/METADATA +27 -25
- ansys_systemcoupling_core-0.3.0.dist-info/RECORD +230 -0
- {ansys_systemcoupling_core-0.1.3.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/WHEEL +1 -1
- ansys_systemcoupling_core-0.1.3.dist-info/RECORD +0 -123
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/abort.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/activate_hidden.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_data_transfer.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_data_transfer_by_display_names.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_expression_function.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_interface.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_interface_by_display_names.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_named_expression.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_reference_frame.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_transformation.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/apip.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/ascii_output.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/attribute.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/attribute_child.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/available_ports.py +0 -0
- ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/case_root.py +13 -13
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/clear_state.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/coupling_interface.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/coupling_interface_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/coupling_participant.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/create_restart_point.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/data_transfer.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/data_transfer_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/delete_snapshot.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/delete_transformation.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/dimensionality.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/execution_control.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/expression.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/expression_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/expression_function.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/expression_function_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/external_data_file.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/fluent_input.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/fmu_parameter.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/generate_input_file.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_execution_command.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_machines.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_region_names_for_participant.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_setup_summary.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_snapshots.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_status_messages.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/global_stabilization.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/has_input_file_changed.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/import_system_coupling_input_file.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/initialize.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/instancing.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/instancing_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/interrupt.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/library.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/mapping_control.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/open.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/open_snapshot.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/partition_participants.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/reference_frame.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/reference_frame_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/region.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/region_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/reload_expression_function_modules.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/results.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/save.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/save_snapshot.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/shutdown.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/side.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/side_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/solution_control.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/stabilization.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/start_participants.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/step.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/transformation.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/transformation_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/type.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/unmapped_value_options.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/update_control.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/update_participant.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/variable.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/write_csv_chart_files.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/write_ensight.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_23_1 → api_24_1}/open_results_in_ensight.py +0 -0
- {ansys_systemcoupling_core-0.1.3.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/LICENSE +0 -0
|
@@ -21,6 +21,7 @@ def launch(
|
|
|
21
21
|
working_dir: str = None,
|
|
22
22
|
nprocs: int = None,
|
|
23
23
|
sycnprocs: int = None,
|
|
24
|
+
version: str = None,
|
|
24
25
|
extra_args: List[str] = [],
|
|
25
26
|
) -> Session:
|
|
26
27
|
"""Start a local instance of System Coupling and connect to it.
|
|
@@ -40,6 +41,15 @@ def launch(
|
|
|
40
41
|
sycnprocs : int, optional
|
|
41
42
|
Number of processes for the System Coupling engine. The default is
|
|
42
43
|
``None``, in which case the System Coupling server uses its own default.
|
|
44
|
+
version : str, optional
|
|
45
|
+
String specifying the version of System Coupling to use. For example,
|
|
46
|
+
to use System Coupling from the Ansys "2023 R1" release, specify ``"231"``.
|
|
47
|
+
(The forms ``"23.1"`` and ``"23_1"`` are also acceptable.)
|
|
48
|
+
The version will be sought in the standard installation location. The
|
|
49
|
+
default is ``None``, which is equivalent to specifying
|
|
50
|
+
``"232"`` ("2023 R2" release), unless either of the environment
|
|
51
|
+
variables ``SYSC_ROOT`` or ``AWP_ROOT`` has been set. It is considered
|
|
52
|
+
to be an error if either these is set *and* ``version`` is provided.
|
|
43
53
|
extra_args : List[str]
|
|
44
54
|
List of any additional arguments to specify when the server
|
|
45
55
|
process is launched. The default is ``[]``. If a list of additional
|
|
@@ -60,14 +70,17 @@ def launch(
|
|
|
60
70
|
working_dir=working_dir,
|
|
61
71
|
nprocs=nprocs,
|
|
62
72
|
sycnprocs=sycnprocs,
|
|
73
|
+
version=version,
|
|
63
74
|
extra_args=extra_args,
|
|
64
75
|
)
|
|
65
|
-
|
|
66
|
-
return syc
|
|
76
|
+
return Session(rpc)
|
|
67
77
|
|
|
68
78
|
|
|
69
79
|
def launch_container(
|
|
70
|
-
mounted_from: str = "./",
|
|
80
|
+
mounted_from: str = "./",
|
|
81
|
+
mounted_to: str = "/working",
|
|
82
|
+
network: str = None,
|
|
83
|
+
version: str = None,
|
|
71
84
|
) -> Session:
|
|
72
85
|
"""Start a System Coupling container instance and connect to it.
|
|
73
86
|
|
|
@@ -82,9 +95,8 @@ def launch_container(
|
|
|
82
95
|
remote System Coupling instance.
|
|
83
96
|
"""
|
|
84
97
|
rpc = SycGrpc()
|
|
85
|
-
rpc.start_container_and_connect(mounted_from, mounted_to, network)
|
|
86
|
-
|
|
87
|
-
return syc
|
|
98
|
+
rpc.start_container_and_connect(mounted_from, mounted_to, network, version=version)
|
|
99
|
+
return Session(rpc)
|
|
88
100
|
|
|
89
101
|
|
|
90
102
|
def connect(host: str, port: int) -> Session: # pragma: no cover
|
|
@@ -110,16 +122,14 @@ def connect(host: str, port: int) -> Session: # pragma: no cover
|
|
|
110
122
|
|
|
111
123
|
|
|
112
124
|
# Set up data directory
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
except: # pragma: no cover
|
|
123
|
-
pass
|
|
125
|
+
USER_DATA_PATH = appdirs.user_data_dir(
|
|
126
|
+
appname="ansys_systemcoupling_core", appauthor="Ansys"
|
|
127
|
+
)
|
|
128
|
+
if not os.path.exists(USER_DATA_PATH): # pragma: no cover
|
|
129
|
+
os.makedirs(USER_DATA_PATH)
|
|
130
|
+
|
|
131
|
+
EXAMPLES_PATH = os.path.join(USER_DATA_PATH, "examples")
|
|
132
|
+
if not os.path.exists(EXAMPLES_PATH): # pragma: no cover
|
|
133
|
+
os.makedirs(EXAMPLES_PATH)
|
|
124
134
|
|
|
125
135
|
BUILDING_GALLERY = False
|
|
@@ -0,0 +1,70 @@
|
|
|
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_participant(Command):
|
|
9
|
+
"""
|
|
10
|
+
For internal use only.
|
|
11
|
+
|
|
12
|
+
Parameters
|
|
13
|
+
----------
|
|
14
|
+
participant_type : str, optional
|
|
15
|
+
...
|
|
16
|
+
input_file : str, optional
|
|
17
|
+
...
|
|
18
|
+
executable : str, optional
|
|
19
|
+
...
|
|
20
|
+
additional_arguments : str, optional
|
|
21
|
+
...
|
|
22
|
+
working_directory : str, optional
|
|
23
|
+
...
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "AddParticipant"
|
|
28
|
+
|
|
29
|
+
argument_names = [
|
|
30
|
+
"participant_type",
|
|
31
|
+
"input_file",
|
|
32
|
+
"executable",
|
|
33
|
+
"additional_arguments",
|
|
34
|
+
"working_directory",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
class participant_type(String):
|
|
38
|
+
"""
|
|
39
|
+
...
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
syc_name = "ParticipantType"
|
|
43
|
+
|
|
44
|
+
class input_file(String):
|
|
45
|
+
"""
|
|
46
|
+
...
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
syc_name = "InputFile"
|
|
50
|
+
|
|
51
|
+
class executable(String):
|
|
52
|
+
"""
|
|
53
|
+
...
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
syc_name = "Executable"
|
|
57
|
+
|
|
58
|
+
class additional_arguments(String):
|
|
59
|
+
"""
|
|
60
|
+
...
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
syc_name = "AdditionalArguments"
|
|
64
|
+
|
|
65
|
+
class working_directory(String):
|
|
66
|
+
"""
|
|
67
|
+
...
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
syc_name = "WorkingDirectory"
|
|
@@ -5,8 +5,32 @@
|
|
|
5
5
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class add_participant(
|
|
8
|
+
class add_participant(InjectedCommand):
|
|
9
9
|
"""
|
|
10
|
+
This command operates in one of two modes, depending on how it is called.
|
|
11
|
+
*Either* a single argument, ``participant_session``, should be provided, *or* some
|
|
12
|
+
combination of the other optional arguments not including ``participant_session``
|
|
13
|
+
should be provided.
|
|
14
|
+
|
|
15
|
+
In the ``participant_session`` mode, the session object is queried to
|
|
16
|
+
extract the information needed to define a new ``coupling_participant``
|
|
17
|
+
object in the setup datamodel. A reference to the session is also retained,
|
|
18
|
+
and this will play a further role if ``solve`` is called later. In that case,
|
|
19
|
+
the participant solver will be driven from the Python environment in which the
|
|
20
|
+
participant and PySystemCoupling sessions are active and System Coupling will
|
|
21
|
+
regard the participant solver as "externally managed" (see the `execution_control`
|
|
22
|
+
settings in `coupling_participant` for details of this mode).
|
|
23
|
+
|
|
24
|
+
.. note::
|
|
25
|
+
The ``participant_session`` mode currently has limited support in the
|
|
26
|
+
broader Ansys Python ecosystem - at present, only PyFluent supports
|
|
27
|
+
the API required of the session object and product versions of Fluent and
|
|
28
|
+
System Coupling need to be at least 24.1. This capability should be
|
|
29
|
+
regarded as *Beta* as it may be subject to revision when extended to other
|
|
30
|
+
products.
|
|
31
|
+
|
|
32
|
+
The remainder of the documentation describes the more usual non-session mode.
|
|
33
|
+
|
|
10
34
|
Adds a coupling participant to the data model.
|
|
11
35
|
|
|
12
36
|
When executed, this command adds the new participant to the analysis
|
|
@@ -31,6 +55,8 @@ class add_participant(Command):
|
|
|
31
55
|
|
|
32
56
|
Parameters
|
|
33
57
|
----------
|
|
58
|
+
participant_session : ParticipantProtocol, optional
|
|
59
|
+
Participant session object conforming to the ``ParticipantProtocol`` protocol class.
|
|
34
60
|
participant_type : str, optional
|
|
35
61
|
Participant type. Currently supported types are:
|
|
36
62
|
|
|
@@ -61,9 +87,12 @@ class add_participant(Command):
|
|
|
61
87
|
|
|
62
88
|
"""
|
|
63
89
|
|
|
64
|
-
syc_name = "
|
|
90
|
+
syc_name = "add_participant"
|
|
91
|
+
|
|
92
|
+
cmd_name = "add_participant"
|
|
65
93
|
|
|
66
94
|
argument_names = [
|
|
95
|
+
"participant_session",
|
|
67
96
|
"participant_type",
|
|
68
97
|
"input_file",
|
|
69
98
|
"executable",
|
|
@@ -71,6 +100,13 @@ class add_participant(Command):
|
|
|
71
100
|
"working_directory",
|
|
72
101
|
]
|
|
73
102
|
|
|
103
|
+
class participant_session(ParticipantSession):
|
|
104
|
+
"""
|
|
105
|
+
Participant session object conforming to the ``ParticipantProtocol`` protocol class.
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
syc_name = "participant_session"
|
|
109
|
+
|
|
74
110
|
class participant_type(String):
|
|
75
111
|
"""
|
|
76
112
|
Participant type. Currently supported types are:
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
6
|
|
|
7
7
|
from .apip import apip
|
|
8
|
+
from .automatic_alignment_options import automatic_alignment_options
|
|
8
9
|
from .avoid_data_reconstruction import avoid_data_reconstruction
|
|
9
10
|
from .global_stabilization import global_stabilization
|
|
10
11
|
from .unmapped_value_options import unmapped_value_options
|
|
@@ -22,6 +23,7 @@ class analysis_control(Container):
|
|
|
22
23
|
"apip",
|
|
23
24
|
"avoid_data_reconstruction",
|
|
24
25
|
"unmapped_value_options",
|
|
26
|
+
"automatic_alignment_options",
|
|
25
27
|
]
|
|
26
28
|
|
|
27
29
|
global_stabilization: global_stabilization = global_stabilization
|
|
@@ -40,6 +42,12 @@ class analysis_control(Container):
|
|
|
40
42
|
"""
|
|
41
43
|
unmapped_value_options child of analysis_control.
|
|
42
44
|
"""
|
|
45
|
+
automatic_alignment_options: automatic_alignment_options = (
|
|
46
|
+
automatic_alignment_options
|
|
47
|
+
)
|
|
48
|
+
"""
|
|
49
|
+
automatic_alignment_options child of analysis_control.
|
|
50
|
+
"""
|
|
43
51
|
property_names_types = [
|
|
44
52
|
("analysis_type", "AnalysisType", "str"),
|
|
45
53
|
("optimize_if_one_way", "OptimizeIfOneWay", "bool"),
|
|
@@ -0,0 +1,46 @@
|
|
|
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 automatic_alignment_options(Container):
|
|
9
|
+
"""
|
|
10
|
+
Automatic alignment settings.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "AutomaticAlignmentOptions"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("alignment_type", "AlignmentType", "str"),
|
|
17
|
+
("singular_value_tolerance", "SingularValueTolerance", "RealType"),
|
|
18
|
+
("verbosity", "Verbosity", "int"),
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
@property
|
|
22
|
+
def alignment_type(self) -> str:
|
|
23
|
+
"""Alignment type (\"Covariance\" or \"Moment Covariance\" or \"Inertial Axes\")."""
|
|
24
|
+
return self.get_property_state("alignment_type")
|
|
25
|
+
|
|
26
|
+
@alignment_type.setter
|
|
27
|
+
def alignment_type(self, value: str):
|
|
28
|
+
self.set_property_state("alignment_type", value)
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def singular_value_tolerance(self) -> RealType:
|
|
32
|
+
"""Tolerance used to compare singular values"""
|
|
33
|
+
return self.get_property_state("singular_value_tolerance")
|
|
34
|
+
|
|
35
|
+
@singular_value_tolerance.setter
|
|
36
|
+
def singular_value_tolerance(self, value: RealType):
|
|
37
|
+
self.set_property_state("singular_value_tolerance", value)
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def verbosity(self) -> int:
|
|
41
|
+
"""Set to 1 to print additional information about the alignment"""
|
|
42
|
+
return self.get_property_state("verbosity")
|
|
43
|
+
|
|
44
|
+
@verbosity.setter
|
|
45
|
+
def verbosity(self, value: int):
|
|
46
|
+
self.set_property_state("verbosity", value)
|
|
@@ -15,6 +15,7 @@ class avoid_data_reconstruction(Container):
|
|
|
15
15
|
property_names_types = [
|
|
16
16
|
("volume_mapping", "VolumeMapping", "bool"),
|
|
17
17
|
("surface_mapping", "SurfaceMapping", "bool"),
|
|
18
|
+
("surface_volume_mapping", "SurfaceVolumeMapping", "bool"),
|
|
18
19
|
]
|
|
19
20
|
|
|
20
21
|
@property
|
|
@@ -34,3 +35,12 @@ class avoid_data_reconstruction(Container):
|
|
|
34
35
|
@surface_mapping.setter
|
|
35
36
|
def surface_mapping(self, value: bool):
|
|
36
37
|
self.set_property_state("surface_mapping", value)
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def surface_volume_mapping(self) -> bool:
|
|
41
|
+
"""UNDOCUMENTED"""
|
|
42
|
+
return self.get_property_state("surface_volume_mapping")
|
|
43
|
+
|
|
44
|
+
@surface_volume_mapping.setter
|
|
45
|
+
def surface_volume_mapping(self, value: bool):
|
|
46
|
+
self.set_property_state("surface_volume_mapping", value)
|
|
@@ -147,7 +147,7 @@ class coupling_participant_child(Container):
|
|
|
147
147
|
|
|
148
148
|
@property
|
|
149
149
|
def use_new_apis(self) -> bool:
|
|
150
|
-
"""Controls whether
|
|
150
|
+
"""Controls whether Fluent/MAPDL/AEDT participant should communicate using new APIs."""
|
|
151
151
|
return self.get_property_state("use_new_apis")
|
|
152
152
|
|
|
153
153
|
@use_new_apis.setter
|
|
@@ -24,6 +24,9 @@ class fmu_parameter_child(Container):
|
|
|
24
24
|
("integer_max", "IntegerMax", "int"),
|
|
25
25
|
("logical_value", "LogicalValue", "bool"),
|
|
26
26
|
("string_value", "StringValue", "str"),
|
|
27
|
+
("enumeration_value", "EnumerationValue", "int"),
|
|
28
|
+
("enumeration_min", "EnumerationMin", "int"),
|
|
29
|
+
("enumeration_max", "EnumerationMax", "int"),
|
|
27
30
|
]
|
|
28
31
|
|
|
29
32
|
@property
|
|
@@ -124,3 +127,30 @@ class fmu_parameter_child(Container):
|
|
|
124
127
|
@string_value.setter
|
|
125
128
|
def string_value(self, value: str):
|
|
126
129
|
self.set_property_state("string_value", value)
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def enumeration_value(self) -> int:
|
|
133
|
+
"""Enumeration data start value."""
|
|
134
|
+
return self.get_property_state("enumeration_value")
|
|
135
|
+
|
|
136
|
+
@enumeration_value.setter
|
|
137
|
+
def enumeration_value(self, value: int):
|
|
138
|
+
self.set_property_state("enumeration_value", value)
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def enumeration_min(self) -> int:
|
|
142
|
+
"""Enumeration data minimum value."""
|
|
143
|
+
return self.get_property_state("enumeration_min")
|
|
144
|
+
|
|
145
|
+
@enumeration_min.setter
|
|
146
|
+
def enumeration_min(self, value: int):
|
|
147
|
+
self.set_property_state("enumeration_min", value)
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def enumeration_max(self) -> int:
|
|
151
|
+
"""Enumeration data maximum value."""
|
|
152
|
+
return self.get_property_state("enumeration_max")
|
|
153
|
+
|
|
154
|
+
@enumeration_max.setter
|
|
155
|
+
def enumeration_max(self, value: int):
|
|
156
|
+
self.set_property_state("enumeration_max", value)
|
|
@@ -0,0 +1,43 @@
|
|
|
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 get_transformation(Command):
|
|
9
|
+
"""
|
|
10
|
+
Given an interface and side, returns the resultant transformation, in
|
|
11
|
+
the form of a Python dictionary and formatted as a DataModel
|
|
12
|
+
reference_frame object. If multiple transformations are aplied to the
|
|
13
|
+
interface side, the composite transformation is returned.
|
|
14
|
+
|
|
15
|
+
This command can only be invoked after the analysis
|
|
16
|
+
is initialized.
|
|
17
|
+
|
|
18
|
+
Parameters
|
|
19
|
+
----------
|
|
20
|
+
interface_name : str
|
|
21
|
+
Name of the interface
|
|
22
|
+
side : str
|
|
23
|
+
Interface side. Can be "One" or "Two".
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "GetTransformation"
|
|
28
|
+
|
|
29
|
+
argument_names = ["interface_name", "side"]
|
|
30
|
+
|
|
31
|
+
class interface_name(String):
|
|
32
|
+
"""
|
|
33
|
+
Name of the interface
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
syc_name = "InterfaceName"
|
|
37
|
+
|
|
38
|
+
class side(String):
|
|
39
|
+
"""
|
|
40
|
+
Interface side. Can be "One" or "Two".
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
syc_name = "Side"
|
|
@@ -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 .live_visualization_child import live_visualization_child
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class live_visualization(NamedContainer[live_visualization_child]):
|
|
11
|
+
"""
|
|
12
|
+
Configures live visualization via EnSight DVS.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "LiveVisualization"
|
|
16
|
+
|
|
17
|
+
child_object_type: live_visualization_child = live_visualization_child
|
|
18
|
+
"""
|
|
19
|
+
child_object_type of live_visualization.
|
|
20
|
+
"""
|
|
@@ -0,0 +1,72 @@
|
|
|
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 live_visualization_child(Container):
|
|
9
|
+
"""
|
|
10
|
+
Configures live visualization via EnSight DVS.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "child_object_type"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("option", "Option", "str"),
|
|
17
|
+
("write_results", "WriteResults", "bool"),
|
|
18
|
+
("output_frequency", "OutputFrequency", "int"),
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
@property
|
|
22
|
+
def option(self) -> str:
|
|
23
|
+
"""Specifies live visualization working process
|
|
24
|
+
|
|
25
|
+
Allowed values:
|
|
26
|
+
|
|
27
|
+
- \"ProgramControlled\" - Generation of postprocessing results is disabled for now.
|
|
28
|
+
|
|
29
|
+
- \"Off\" - Generation of postprocessing results is disabled.
|
|
30
|
+
|
|
31
|
+
Allowed values for step-based analyses:
|
|
32
|
+
|
|
33
|
+
- \"LastStep\" - Generate results only for the last coupling step completed.
|
|
34
|
+
|
|
35
|
+
- \"EveryStep\" - Generate results at the end of every coupling step.
|
|
36
|
+
|
|
37
|
+
- \"StepInterval\" - Generate results at the end of coupling steps at
|
|
38
|
+
the interval specified by the output frequency setting.
|
|
39
|
+
|
|
40
|
+
Allowed values for iteration-based analyses:
|
|
41
|
+
|
|
42
|
+
- \"LastIteration\" - Generate results only for the last coupling
|
|
43
|
+
iteration completed.
|
|
44
|
+
|
|
45
|
+
- \"EveryIteration\" - Generate results at the end of every coupling
|
|
46
|
+
iteration.
|
|
47
|
+
|
|
48
|
+
- \"IterationInterval\" - Generate results at the end of coupling
|
|
49
|
+
iterations at the interval specified by the output frequency setting."""
|
|
50
|
+
return self.get_property_state("option")
|
|
51
|
+
|
|
52
|
+
@option.setter
|
|
53
|
+
def option(self, value: str):
|
|
54
|
+
self.set_property_state("option", value)
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
def write_results(self) -> bool:
|
|
58
|
+
"""Write results to files when conducting live visualization."""
|
|
59
|
+
return self.get_property_state("write_results")
|
|
60
|
+
|
|
61
|
+
@write_results.setter
|
|
62
|
+
def write_results(self, value: bool):
|
|
63
|
+
self.set_property_state("write_results", value)
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def output_frequency(self) -> int:
|
|
67
|
+
"""Specify output frequency."""
|
|
68
|
+
return self.get_property_state("output_frequency")
|
|
69
|
+
|
|
70
|
+
@output_frequency.setter
|
|
71
|
+
def output_frequency(self, value: int):
|
|
72
|
+
self.set_property_state("output_frequency", value)
|
|
@@ -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_en_sight(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"
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
6
|
|
|
7
7
|
from .ascii_output import ascii_output
|
|
8
|
+
from .live_visualization import live_visualization
|
|
8
9
|
from .results import results
|
|
9
10
|
|
|
10
11
|
|
|
@@ -15,7 +16,7 @@ class output_control(Container):
|
|
|
15
16
|
|
|
16
17
|
syc_name = "OutputControl"
|
|
17
18
|
|
|
18
|
-
child_names = ["results", "ascii_output"]
|
|
19
|
+
child_names = ["results", "ascii_output", "live_visualization"]
|
|
19
20
|
|
|
20
21
|
results: results = results
|
|
21
22
|
"""
|
|
@@ -25,6 +26,10 @@ class output_control(Container):
|
|
|
25
26
|
"""
|
|
26
27
|
ascii_output child of output_control.
|
|
27
28
|
"""
|
|
29
|
+
live_visualization: live_visualization = live_visualization
|
|
30
|
+
"""
|
|
31
|
+
live_visualization child of output_control.
|
|
32
|
+
"""
|
|
28
33
|
property_names_types = [
|
|
29
34
|
("option", "Option", "str"),
|
|
30
35
|
("generate_csv_chart_output", "GenerateCSVChartOutput", "bool"),
|