ansys-api-discovery 0.6.1__py3-none-any.whl → 0.6.2__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-api-discovery might be problematic. Click here for more details.
- ansys/api/discovery/VERSION +1 -1
- ansys/api/discovery/v0/monitors.proto +4 -99
- ansys/api/discovery/v0/monitors_pb2.py +12 -17
- ansys/api/discovery/v0/monitors_pb2.pyi +7 -214
- ansys/api/discovery/v0/results.proto +104 -0
- ansys/api/discovery/v0/results_pb2.py +32 -0
- ansys/api/discovery/v0/results_pb2.pyi +218 -0
- ansys/api/discovery/v0/results_pb2_grpc.py +4 -0
- ansys/api/discovery/v0/results_pb2_grpc.pyi +4 -0
- ansys/api/discovery/v0/unsupported.proto +33 -0
- ansys/api/discovery/v0/unsupported_pb2.py +35 -0
- ansys/api/discovery/v0/unsupported_pb2.pyi +54 -0
- ansys/api/discovery/v0/unsupported_pb2_grpc.py +102 -0
- ansys/api/discovery/v0/unsupported_pb2_grpc.pyi +41 -0
- {ansys_api_discovery-0.6.1.dist-info → ansys_api_discovery-0.6.2.dist-info}/METADATA +2 -2
- {ansys_api_discovery-0.6.1.dist-info → ansys_api_discovery-0.6.2.dist-info}/RECORD +20 -10
- {ansys_api_discovery-0.6.1.dist-info → ansys_api_discovery-0.6.2.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.6.1.dist-info → ansys_api_discovery-0.6.2.dist-info}/WHEEL +0 -0
- {ansys_api_discovery-0.6.1.dist-info → ansys_api_discovery-0.6.2.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.6.1.dist-info → ansys_api_discovery-0.6.2.dist-info}/top_level.txt +0 -0
ansys/api/discovery/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.2
|
|
@@ -3,6 +3,7 @@ syntax = "proto3";
|
|
|
3
3
|
package ansys.api.discovery.v0.monitors;
|
|
4
4
|
|
|
5
5
|
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
6
|
+
import "ansys/api/discovery/v0/results.proto";
|
|
6
7
|
import "google/protobuf/empty.proto";
|
|
7
8
|
|
|
8
9
|
option csharp_namespace = "Ansys.Api.Discovery.V0.Monitors";
|
|
@@ -27,9 +28,9 @@ message MonitorCreationResponse{
|
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
message MonitorProperties{
|
|
30
|
-
ResultVariable result_variable = 1;
|
|
31
|
-
ResultFunction result_function = 2;
|
|
32
|
-
optional ResultComponent result_component = 3;
|
|
31
|
+
ansys.api.discovery.v0.results.ResultVariable result_variable = 1;
|
|
32
|
+
ansys.api.discovery.v0.results.ResultFunction result_function = 2;
|
|
33
|
+
optional ansys.api.discovery.v0.results.ResultComponent result_component = 3;
|
|
33
34
|
repeated string locations_secondary = 4;
|
|
34
35
|
}
|
|
35
36
|
|
|
@@ -38,100 +39,4 @@ message MonitorDefinition{
|
|
|
38
39
|
string label = 2;
|
|
39
40
|
repeated string locations = 3;
|
|
40
41
|
MonitorProperties monitor = 4;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
enum ResultVariable{
|
|
44
|
-
RESULT_VARIABLE_UNSPECIFIED = 0;
|
|
45
|
-
RESULT_VARIABLE_DISPLACEMENT = 1;
|
|
46
|
-
RESULT_VARIABLE_VON_MISES_STRESS = 2;
|
|
47
|
-
RESULT_VARIABLE_TEMPERATURE = 3;
|
|
48
|
-
RESULT_VARIABLE_STRESS = 4;
|
|
49
|
-
RESULT_VARIABLE_PRINCIPAL_STRESS = 5;
|
|
50
|
-
RESULT_VARIABLE_ELASTIC_STRAIN = 6;
|
|
51
|
-
RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN = 7;
|
|
52
|
-
RESULT_VARIABLE_HEAT_FLUX = 8;
|
|
53
|
-
RESULT_VARIABLE_PRESSURE = 9;
|
|
54
|
-
RESULT_VARIABLE_VELOCITY = 10;
|
|
55
|
-
RESULT_VARIABLE_VORTICES_LAMBDA_2 = 11;
|
|
56
|
-
RESULT_VARIABLE_MASS = 12;
|
|
57
|
-
RESULT_VARIABLE_LOCAL_REACTION_FORCE = 13;
|
|
58
|
-
RESULT_VARIABLE_REACTION_RESULTANT = 14;
|
|
59
|
-
RESULT_VARIABLE_DENSITY = 15;
|
|
60
|
-
RESULT_VARIABLE_FACTOR_OF_SAFETY = 16;
|
|
61
|
-
RESULT_VARIABLE_PRESSURE_DROP = 17;
|
|
62
|
-
RESULT_VARIABLE_CONTACT_REACTION = 18;
|
|
63
|
-
RESULT_VARIABLE_JOINT_TOTAL_FORCE = 19;
|
|
64
|
-
RESULT_VARIABLE_JOINT_TOTAL_MOMENT = 20;
|
|
65
|
-
RESULT_VARIABLE_FREQUENCY = 21;
|
|
66
|
-
RESULT_VARIABLE_MESH_STATISTICS = 22;
|
|
67
|
-
RESULT_VARIABLE_MESH_QUALITY = 23;
|
|
68
|
-
RESULT_VARIABLE_FLUID_FORCE = 24;
|
|
69
|
-
RESULT_VARIABLE_VOLUME = 25;
|
|
70
|
-
RESULT_VARIABLE_VOLUME_FLOW = 26;
|
|
71
|
-
RESULT_VARIABLE_MASS_FLOW = 27;
|
|
72
|
-
RESULT_VARIABLE_HEAT_FLOW = 28;
|
|
73
|
-
RESULT_VARIABLE_TOTAL_PRESSURE = 29;
|
|
74
|
-
RESULT_VARIABLE_FLOW_UNIFORMITY = 30;
|
|
75
|
-
RESULT_VARIABLE_S_PARAMETERS = 31;
|
|
76
|
-
RESULT_VARIABLE_GAIN = 32;
|
|
77
|
-
RESULT_VARIABLE_REALIZED_GAIN = 33;
|
|
78
|
-
RESULT_VARIABLE_DIRECTIVITY = 34;
|
|
79
|
-
RESULT_VARIABLE_AXIAL_RATIO = 35;
|
|
80
|
-
RESULT_VARIABLE_RADIAL_E = 36;
|
|
81
|
-
RESULT_VARIABLE_CONTACT_STRESS = 37;
|
|
82
|
-
RESULT_VARIABLE_MACH_NUMBER = 38;
|
|
83
|
-
RESULT_VARIABLE_ELECTRIC_FIELD = 39;
|
|
84
|
-
RESULT_VARIABLE_MAGNETIC_FIELD = 40;
|
|
85
|
-
RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY = 41;
|
|
86
|
-
RESULT_VARIABLE_AXIAL_STRESS = 42;
|
|
87
|
-
RESULT_VARIABLE_TORSIONAL_MOMENT = 43;
|
|
88
|
-
RESULT_VARIABLE_SHEAR_FORCE = 44;
|
|
89
|
-
RESULT_VARIABLE_ANTENNA_PARAMETERS = 45;
|
|
90
|
-
RESULT_VARIABLE_OPERATING_PRESSURE = 46;
|
|
91
|
-
RESULT_VARIABLE_RADIATIVE_HEAT_FLUX = 47;
|
|
92
|
-
RESULT_VARIABLE_VOLTAGE = 48;
|
|
93
|
-
RESULT_VARIABLE_CURRENT_DENSITY = 49;
|
|
94
|
-
RESULT_VARIABLE_JOULE_HEAT = 50;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
enum ResultFunction{
|
|
98
|
-
RESULT_FUNCTION_UNSPECIFIED = 0;
|
|
99
|
-
RESULT_FUNCTION_MINIMUM = 1;
|
|
100
|
-
RESULT_FUNCTION_MAXIMUM = 2;
|
|
101
|
-
RESULT_FUNCTION_AVERAGE = 3;
|
|
102
|
-
RESULT_FUNCTION_SUM = 4;
|
|
103
|
-
RESULT_FUNCTION_INTEGRAL = 5;
|
|
104
|
-
RESULT_FUNCTION_STANDARD_DEVIATION = 6;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
enum ResultComponent{
|
|
108
|
-
RESULT_COMPONENT_UNSPECIFIED = 0;
|
|
109
|
-
RESULT_COMPONENT_NONE = 1;
|
|
110
|
-
RESULT_COMPONENT_X = 2;
|
|
111
|
-
RESULT_COMPONENT_Y = 3;
|
|
112
|
-
RESULT_COMPONENT_Z = 4;
|
|
113
|
-
RESULT_COMPONENT_XX = 5;
|
|
114
|
-
RESULT_COMPONENT_YY = 6;
|
|
115
|
-
RESULT_COMPONENT_ZZ = 7;
|
|
116
|
-
RESULT_COMPONENT_YZ = 8;
|
|
117
|
-
RESULT_COMPONENT_XY = 9;
|
|
118
|
-
RESULT_COMPONENT_XZ = 10;
|
|
119
|
-
RESULT_COMPONENT_MAG = 11;
|
|
120
|
-
RESULT_COMPONENT_FIRST = 12;
|
|
121
|
-
RESULT_COMPONENT_SECOND = 13;
|
|
122
|
-
RESULT_COMPONENT_THIRD = 14;
|
|
123
|
-
RESULT_COMPONENT_VELOCITY = 15;
|
|
124
|
-
RESULT_COMPONENT_TEMPERATURE = 16;
|
|
125
|
-
RESULT_COMPONENT_REAL = 17;
|
|
126
|
-
RESULT_COMPONENT_IMAGINARY = 18;
|
|
127
|
-
RESULT_COMPONENT_PHASE = 19;
|
|
128
|
-
RESULT_COMPONENT_LOGARITHMIC_MAG = 20;
|
|
129
|
-
RESULT_COMPONENT_CONJUGATE_PHASE = 21;
|
|
130
|
-
RESULT_COMPONENT_TOTAL = 22;
|
|
131
|
-
RESULT_COMPONENT_L3X = 23;
|
|
132
|
-
RESULT_COMPONENT_L3Y = 24;
|
|
133
|
-
RESULT_COMPONENT_RHCP = 25;
|
|
134
|
-
RESULT_COMPONENT_LHCP = 26;
|
|
135
|
-
RESULT_COMPONENT_THETA = 27;
|
|
136
|
-
RESULT_COMPONENT_PHI = 28;
|
|
137
42
|
}
|
|
@@ -12,10 +12,11 @@ _sym_db = _symbol_database.Default()
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
15
|
+
from ansys.api.discovery.v0 import results_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_results__pb2
|
|
15
16
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
16
17
|
|
|
17
18
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ansys/api/discovery/v0/monitors.proto\x12\x1f\x61nsys.api.discovery.v0.monitors\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x9e\x01\n\x14\x43reateMonitorRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12\x43\n\x07monitor\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorProperties\"\xa2\x01\n\x17MonitorCreationResponse\x12\x42\n\x10monitor_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12\x43\n\x07monitor\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorDefinition\"\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ansys/api/discovery/v0/monitors.proto\x12\x1f\x61nsys.api.discovery.v0.monitors\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a$ansys/api/discovery/v0/results.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x9e\x01\n\x14\x43reateMonitorRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12\x43\n\x07monitor\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorProperties\"\xa2\x01\n\x17MonitorCreationResponse\x12\x42\n\x10monitor_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12\x43\n\x07monitor\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorDefinition\"\xa7\x02\n\x11MonitorProperties\x12G\n\x0fresult_variable\x18\x01 \x01(\x0e\x32..ansys.api.discovery.v0.results.ResultVariable\x12G\n\x0fresult_function\x18\x02 \x01(\x0e\x32..ansys.api.discovery.v0.results.ResultFunction\x12N\n\x10result_component\x18\x03 \x01(\x0e\x32/.ansys.api.discovery.v0.results.ResultComponentH\x00\x88\x01\x01\x12\x1b\n\x13locations_secondary\x18\x04 \x03(\tB\x13\n\x11_result_component\"\x86\x01\n\x11MonitorDefinition\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x11\n\tlocations\x18\x03 \x03(\t\x12\x43\n\x07monitor\x18\x04 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorProperties2\x8d\x01\n\x08Monitors\x12\x80\x01\n\rCreateMonitor\x12\x35.ansys.api.discovery.v0.monitors.CreateMonitorRequest\x1a\x38.ansys.api.discovery.v0.monitors.MonitorCreationResponseB\"\xaa\x02\x1f\x41nsys.Api.Discovery.V0.Monitorsb\x06proto3')
|
|
19
20
|
|
|
20
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.monitors_pb2', globals())
|
|
@@ -23,20 +24,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
23
24
|
|
|
24
25
|
DESCRIPTOR._options = None
|
|
25
26
|
DESCRIPTOR._serialized_options = b'\252\002\037Ansys.Api.Discovery.V0.Monitors'
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
_MONITORPROPERTIES._serialized_start=476
|
|
37
|
-
_MONITORPROPERTIES._serialized_end=774
|
|
38
|
-
_MONITORDEFINITION._serialized_start=777
|
|
39
|
-
_MONITORDEFINITION._serialized_end=911
|
|
40
|
-
_MONITORS._serialized_start=3776
|
|
41
|
-
_MONITORS._serialized_end=3917
|
|
27
|
+
_CREATEMONITORREQUEST._serialized_start=188
|
|
28
|
+
_CREATEMONITORREQUEST._serialized_end=346
|
|
29
|
+
_MONITORCREATIONRESPONSE._serialized_start=349
|
|
30
|
+
_MONITORCREATIONRESPONSE._serialized_end=511
|
|
31
|
+
_MONITORPROPERTIES._serialized_start=514
|
|
32
|
+
_MONITORPROPERTIES._serialized_end=809
|
|
33
|
+
_MONITORDEFINITION._serialized_start=812
|
|
34
|
+
_MONITORDEFINITION._serialized_end=946
|
|
35
|
+
_MONITORS._serialized_start=949
|
|
36
|
+
_MONITORS._serialized_end=1090
|
|
42
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -3,223 +3,16 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
6
|
+
import ansys.api.discovery.v0.results_pb2
|
|
6
7
|
import builtins
|
|
7
8
|
import google.protobuf.descriptor
|
|
8
9
|
import google.protobuf.internal.containers
|
|
9
|
-
import google.protobuf.internal.enum_type_wrapper
|
|
10
10
|
import google.protobuf.message
|
|
11
11
|
import typing
|
|
12
12
|
import typing_extensions
|
|
13
13
|
|
|
14
14
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
15
15
|
|
|
16
|
-
class _ResultVariable:
|
|
17
|
-
ValueType = typing.NewType('ValueType', builtins.int)
|
|
18
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
19
|
-
class _ResultVariableEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResultVariable.ValueType], builtins.type):
|
|
20
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
|
|
21
|
-
RESULT_VARIABLE_UNSPECIFIED: ResultVariable.ValueType = ... # 0
|
|
22
|
-
RESULT_VARIABLE_DISPLACEMENT: ResultVariable.ValueType = ... # 1
|
|
23
|
-
RESULT_VARIABLE_VON_MISES_STRESS: ResultVariable.ValueType = ... # 2
|
|
24
|
-
RESULT_VARIABLE_TEMPERATURE: ResultVariable.ValueType = ... # 3
|
|
25
|
-
RESULT_VARIABLE_STRESS: ResultVariable.ValueType = ... # 4
|
|
26
|
-
RESULT_VARIABLE_PRINCIPAL_STRESS: ResultVariable.ValueType = ... # 5
|
|
27
|
-
RESULT_VARIABLE_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 6
|
|
28
|
-
RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 7
|
|
29
|
-
RESULT_VARIABLE_HEAT_FLUX: ResultVariable.ValueType = ... # 8
|
|
30
|
-
RESULT_VARIABLE_PRESSURE: ResultVariable.ValueType = ... # 9
|
|
31
|
-
RESULT_VARIABLE_VELOCITY: ResultVariable.ValueType = ... # 10
|
|
32
|
-
RESULT_VARIABLE_VORTICES_LAMBDA_2: ResultVariable.ValueType = ... # 11
|
|
33
|
-
RESULT_VARIABLE_MASS: ResultVariable.ValueType = ... # 12
|
|
34
|
-
RESULT_VARIABLE_LOCAL_REACTION_FORCE: ResultVariable.ValueType = ... # 13
|
|
35
|
-
RESULT_VARIABLE_REACTION_RESULTANT: ResultVariable.ValueType = ... # 14
|
|
36
|
-
RESULT_VARIABLE_DENSITY: ResultVariable.ValueType = ... # 15
|
|
37
|
-
RESULT_VARIABLE_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 16
|
|
38
|
-
RESULT_VARIABLE_PRESSURE_DROP: ResultVariable.ValueType = ... # 17
|
|
39
|
-
RESULT_VARIABLE_CONTACT_REACTION: ResultVariable.ValueType = ... # 18
|
|
40
|
-
RESULT_VARIABLE_JOINT_TOTAL_FORCE: ResultVariable.ValueType = ... # 19
|
|
41
|
-
RESULT_VARIABLE_JOINT_TOTAL_MOMENT: ResultVariable.ValueType = ... # 20
|
|
42
|
-
RESULT_VARIABLE_FREQUENCY: ResultVariable.ValueType = ... # 21
|
|
43
|
-
RESULT_VARIABLE_MESH_STATISTICS: ResultVariable.ValueType = ... # 22
|
|
44
|
-
RESULT_VARIABLE_MESH_QUALITY: ResultVariable.ValueType = ... # 23
|
|
45
|
-
RESULT_VARIABLE_FLUID_FORCE: ResultVariable.ValueType = ... # 24
|
|
46
|
-
RESULT_VARIABLE_VOLUME: ResultVariable.ValueType = ... # 25
|
|
47
|
-
RESULT_VARIABLE_VOLUME_FLOW: ResultVariable.ValueType = ... # 26
|
|
48
|
-
RESULT_VARIABLE_MASS_FLOW: ResultVariable.ValueType = ... # 27
|
|
49
|
-
RESULT_VARIABLE_HEAT_FLOW: ResultVariable.ValueType = ... # 28
|
|
50
|
-
RESULT_VARIABLE_TOTAL_PRESSURE: ResultVariable.ValueType = ... # 29
|
|
51
|
-
RESULT_VARIABLE_FLOW_UNIFORMITY: ResultVariable.ValueType = ... # 30
|
|
52
|
-
RESULT_VARIABLE_S_PARAMETERS: ResultVariable.ValueType = ... # 31
|
|
53
|
-
RESULT_VARIABLE_GAIN: ResultVariable.ValueType = ... # 32
|
|
54
|
-
RESULT_VARIABLE_REALIZED_GAIN: ResultVariable.ValueType = ... # 33
|
|
55
|
-
RESULT_VARIABLE_DIRECTIVITY: ResultVariable.ValueType = ... # 34
|
|
56
|
-
RESULT_VARIABLE_AXIAL_RATIO: ResultVariable.ValueType = ... # 35
|
|
57
|
-
RESULT_VARIABLE_RADIAL_E: ResultVariable.ValueType = ... # 36
|
|
58
|
-
RESULT_VARIABLE_CONTACT_STRESS: ResultVariable.ValueType = ... # 37
|
|
59
|
-
RESULT_VARIABLE_MACH_NUMBER: ResultVariable.ValueType = ... # 38
|
|
60
|
-
RESULT_VARIABLE_ELECTRIC_FIELD: ResultVariable.ValueType = ... # 39
|
|
61
|
-
RESULT_VARIABLE_MAGNETIC_FIELD: ResultVariable.ValueType = ... # 40
|
|
62
|
-
RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 41
|
|
63
|
-
RESULT_VARIABLE_AXIAL_STRESS: ResultVariable.ValueType = ... # 42
|
|
64
|
-
RESULT_VARIABLE_TORSIONAL_MOMENT: ResultVariable.ValueType = ... # 43
|
|
65
|
-
RESULT_VARIABLE_SHEAR_FORCE: ResultVariable.ValueType = ... # 44
|
|
66
|
-
RESULT_VARIABLE_ANTENNA_PARAMETERS: ResultVariable.ValueType = ... # 45
|
|
67
|
-
RESULT_VARIABLE_OPERATING_PRESSURE: ResultVariable.ValueType = ... # 46
|
|
68
|
-
RESULT_VARIABLE_RADIATIVE_HEAT_FLUX: ResultVariable.ValueType = ... # 47
|
|
69
|
-
RESULT_VARIABLE_VOLTAGE: ResultVariable.ValueType = ... # 48
|
|
70
|
-
RESULT_VARIABLE_CURRENT_DENSITY: ResultVariable.ValueType = ... # 49
|
|
71
|
-
RESULT_VARIABLE_JOULE_HEAT: ResultVariable.ValueType = ... # 50
|
|
72
|
-
class ResultVariable(_ResultVariable, metaclass=_ResultVariableEnumTypeWrapper):
|
|
73
|
-
pass
|
|
74
|
-
|
|
75
|
-
RESULT_VARIABLE_UNSPECIFIED: ResultVariable.ValueType = ... # 0
|
|
76
|
-
RESULT_VARIABLE_DISPLACEMENT: ResultVariable.ValueType = ... # 1
|
|
77
|
-
RESULT_VARIABLE_VON_MISES_STRESS: ResultVariable.ValueType = ... # 2
|
|
78
|
-
RESULT_VARIABLE_TEMPERATURE: ResultVariable.ValueType = ... # 3
|
|
79
|
-
RESULT_VARIABLE_STRESS: ResultVariable.ValueType = ... # 4
|
|
80
|
-
RESULT_VARIABLE_PRINCIPAL_STRESS: ResultVariable.ValueType = ... # 5
|
|
81
|
-
RESULT_VARIABLE_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 6
|
|
82
|
-
RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 7
|
|
83
|
-
RESULT_VARIABLE_HEAT_FLUX: ResultVariable.ValueType = ... # 8
|
|
84
|
-
RESULT_VARIABLE_PRESSURE: ResultVariable.ValueType = ... # 9
|
|
85
|
-
RESULT_VARIABLE_VELOCITY: ResultVariable.ValueType = ... # 10
|
|
86
|
-
RESULT_VARIABLE_VORTICES_LAMBDA_2: ResultVariable.ValueType = ... # 11
|
|
87
|
-
RESULT_VARIABLE_MASS: ResultVariable.ValueType = ... # 12
|
|
88
|
-
RESULT_VARIABLE_LOCAL_REACTION_FORCE: ResultVariable.ValueType = ... # 13
|
|
89
|
-
RESULT_VARIABLE_REACTION_RESULTANT: ResultVariable.ValueType = ... # 14
|
|
90
|
-
RESULT_VARIABLE_DENSITY: ResultVariable.ValueType = ... # 15
|
|
91
|
-
RESULT_VARIABLE_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 16
|
|
92
|
-
RESULT_VARIABLE_PRESSURE_DROP: ResultVariable.ValueType = ... # 17
|
|
93
|
-
RESULT_VARIABLE_CONTACT_REACTION: ResultVariable.ValueType = ... # 18
|
|
94
|
-
RESULT_VARIABLE_JOINT_TOTAL_FORCE: ResultVariable.ValueType = ... # 19
|
|
95
|
-
RESULT_VARIABLE_JOINT_TOTAL_MOMENT: ResultVariable.ValueType = ... # 20
|
|
96
|
-
RESULT_VARIABLE_FREQUENCY: ResultVariable.ValueType = ... # 21
|
|
97
|
-
RESULT_VARIABLE_MESH_STATISTICS: ResultVariable.ValueType = ... # 22
|
|
98
|
-
RESULT_VARIABLE_MESH_QUALITY: ResultVariable.ValueType = ... # 23
|
|
99
|
-
RESULT_VARIABLE_FLUID_FORCE: ResultVariable.ValueType = ... # 24
|
|
100
|
-
RESULT_VARIABLE_VOLUME: ResultVariable.ValueType = ... # 25
|
|
101
|
-
RESULT_VARIABLE_VOLUME_FLOW: ResultVariable.ValueType = ... # 26
|
|
102
|
-
RESULT_VARIABLE_MASS_FLOW: ResultVariable.ValueType = ... # 27
|
|
103
|
-
RESULT_VARIABLE_HEAT_FLOW: ResultVariable.ValueType = ... # 28
|
|
104
|
-
RESULT_VARIABLE_TOTAL_PRESSURE: ResultVariable.ValueType = ... # 29
|
|
105
|
-
RESULT_VARIABLE_FLOW_UNIFORMITY: ResultVariable.ValueType = ... # 30
|
|
106
|
-
RESULT_VARIABLE_S_PARAMETERS: ResultVariable.ValueType = ... # 31
|
|
107
|
-
RESULT_VARIABLE_GAIN: ResultVariable.ValueType = ... # 32
|
|
108
|
-
RESULT_VARIABLE_REALIZED_GAIN: ResultVariable.ValueType = ... # 33
|
|
109
|
-
RESULT_VARIABLE_DIRECTIVITY: ResultVariable.ValueType = ... # 34
|
|
110
|
-
RESULT_VARIABLE_AXIAL_RATIO: ResultVariable.ValueType = ... # 35
|
|
111
|
-
RESULT_VARIABLE_RADIAL_E: ResultVariable.ValueType = ... # 36
|
|
112
|
-
RESULT_VARIABLE_CONTACT_STRESS: ResultVariable.ValueType = ... # 37
|
|
113
|
-
RESULT_VARIABLE_MACH_NUMBER: ResultVariable.ValueType = ... # 38
|
|
114
|
-
RESULT_VARIABLE_ELECTRIC_FIELD: ResultVariable.ValueType = ... # 39
|
|
115
|
-
RESULT_VARIABLE_MAGNETIC_FIELD: ResultVariable.ValueType = ... # 40
|
|
116
|
-
RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 41
|
|
117
|
-
RESULT_VARIABLE_AXIAL_STRESS: ResultVariable.ValueType = ... # 42
|
|
118
|
-
RESULT_VARIABLE_TORSIONAL_MOMENT: ResultVariable.ValueType = ... # 43
|
|
119
|
-
RESULT_VARIABLE_SHEAR_FORCE: ResultVariable.ValueType = ... # 44
|
|
120
|
-
RESULT_VARIABLE_ANTENNA_PARAMETERS: ResultVariable.ValueType = ... # 45
|
|
121
|
-
RESULT_VARIABLE_OPERATING_PRESSURE: ResultVariable.ValueType = ... # 46
|
|
122
|
-
RESULT_VARIABLE_RADIATIVE_HEAT_FLUX: ResultVariable.ValueType = ... # 47
|
|
123
|
-
RESULT_VARIABLE_VOLTAGE: ResultVariable.ValueType = ... # 48
|
|
124
|
-
RESULT_VARIABLE_CURRENT_DENSITY: ResultVariable.ValueType = ... # 49
|
|
125
|
-
RESULT_VARIABLE_JOULE_HEAT: ResultVariable.ValueType = ... # 50
|
|
126
|
-
global___ResultVariable = ResultVariable
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
class _ResultFunction:
|
|
130
|
-
ValueType = typing.NewType('ValueType', builtins.int)
|
|
131
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
132
|
-
class _ResultFunctionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResultFunction.ValueType], builtins.type):
|
|
133
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
|
|
134
|
-
RESULT_FUNCTION_UNSPECIFIED: ResultFunction.ValueType = ... # 0
|
|
135
|
-
RESULT_FUNCTION_MINIMUM: ResultFunction.ValueType = ... # 1
|
|
136
|
-
RESULT_FUNCTION_MAXIMUM: ResultFunction.ValueType = ... # 2
|
|
137
|
-
RESULT_FUNCTION_AVERAGE: ResultFunction.ValueType = ... # 3
|
|
138
|
-
RESULT_FUNCTION_SUM: ResultFunction.ValueType = ... # 4
|
|
139
|
-
RESULT_FUNCTION_INTEGRAL: ResultFunction.ValueType = ... # 5
|
|
140
|
-
RESULT_FUNCTION_STANDARD_DEVIATION: ResultFunction.ValueType = ... # 6
|
|
141
|
-
class ResultFunction(_ResultFunction, metaclass=_ResultFunctionEnumTypeWrapper):
|
|
142
|
-
pass
|
|
143
|
-
|
|
144
|
-
RESULT_FUNCTION_UNSPECIFIED: ResultFunction.ValueType = ... # 0
|
|
145
|
-
RESULT_FUNCTION_MINIMUM: ResultFunction.ValueType = ... # 1
|
|
146
|
-
RESULT_FUNCTION_MAXIMUM: ResultFunction.ValueType = ... # 2
|
|
147
|
-
RESULT_FUNCTION_AVERAGE: ResultFunction.ValueType = ... # 3
|
|
148
|
-
RESULT_FUNCTION_SUM: ResultFunction.ValueType = ... # 4
|
|
149
|
-
RESULT_FUNCTION_INTEGRAL: ResultFunction.ValueType = ... # 5
|
|
150
|
-
RESULT_FUNCTION_STANDARD_DEVIATION: ResultFunction.ValueType = ... # 6
|
|
151
|
-
global___ResultFunction = ResultFunction
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
class _ResultComponent:
|
|
155
|
-
ValueType = typing.NewType('ValueType', builtins.int)
|
|
156
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
157
|
-
class _ResultComponentEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResultComponent.ValueType], builtins.type):
|
|
158
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
|
|
159
|
-
RESULT_COMPONENT_UNSPECIFIED: ResultComponent.ValueType = ... # 0
|
|
160
|
-
RESULT_COMPONENT_NONE: ResultComponent.ValueType = ... # 1
|
|
161
|
-
RESULT_COMPONENT_X: ResultComponent.ValueType = ... # 2
|
|
162
|
-
RESULT_COMPONENT_Y: ResultComponent.ValueType = ... # 3
|
|
163
|
-
RESULT_COMPONENT_Z: ResultComponent.ValueType = ... # 4
|
|
164
|
-
RESULT_COMPONENT_XX: ResultComponent.ValueType = ... # 5
|
|
165
|
-
RESULT_COMPONENT_YY: ResultComponent.ValueType = ... # 6
|
|
166
|
-
RESULT_COMPONENT_ZZ: ResultComponent.ValueType = ... # 7
|
|
167
|
-
RESULT_COMPONENT_YZ: ResultComponent.ValueType = ... # 8
|
|
168
|
-
RESULT_COMPONENT_XY: ResultComponent.ValueType = ... # 9
|
|
169
|
-
RESULT_COMPONENT_XZ: ResultComponent.ValueType = ... # 10
|
|
170
|
-
RESULT_COMPONENT_MAG: ResultComponent.ValueType = ... # 11
|
|
171
|
-
RESULT_COMPONENT_FIRST: ResultComponent.ValueType = ... # 12
|
|
172
|
-
RESULT_COMPONENT_SECOND: ResultComponent.ValueType = ... # 13
|
|
173
|
-
RESULT_COMPONENT_THIRD: ResultComponent.ValueType = ... # 14
|
|
174
|
-
RESULT_COMPONENT_VELOCITY: ResultComponent.ValueType = ... # 15
|
|
175
|
-
RESULT_COMPONENT_TEMPERATURE: ResultComponent.ValueType = ... # 16
|
|
176
|
-
RESULT_COMPONENT_REAL: ResultComponent.ValueType = ... # 17
|
|
177
|
-
RESULT_COMPONENT_IMAGINARY: ResultComponent.ValueType = ... # 18
|
|
178
|
-
RESULT_COMPONENT_PHASE: ResultComponent.ValueType = ... # 19
|
|
179
|
-
RESULT_COMPONENT_LOGARITHMIC_MAG: ResultComponent.ValueType = ... # 20
|
|
180
|
-
RESULT_COMPONENT_CONJUGATE_PHASE: ResultComponent.ValueType = ... # 21
|
|
181
|
-
RESULT_COMPONENT_TOTAL: ResultComponent.ValueType = ... # 22
|
|
182
|
-
RESULT_COMPONENT_L3X: ResultComponent.ValueType = ... # 23
|
|
183
|
-
RESULT_COMPONENT_L3Y: ResultComponent.ValueType = ... # 24
|
|
184
|
-
RESULT_COMPONENT_RHCP: ResultComponent.ValueType = ... # 25
|
|
185
|
-
RESULT_COMPONENT_LHCP: ResultComponent.ValueType = ... # 26
|
|
186
|
-
RESULT_COMPONENT_THETA: ResultComponent.ValueType = ... # 27
|
|
187
|
-
RESULT_COMPONENT_PHI: ResultComponent.ValueType = ... # 28
|
|
188
|
-
class ResultComponent(_ResultComponent, metaclass=_ResultComponentEnumTypeWrapper):
|
|
189
|
-
pass
|
|
190
|
-
|
|
191
|
-
RESULT_COMPONENT_UNSPECIFIED: ResultComponent.ValueType = ... # 0
|
|
192
|
-
RESULT_COMPONENT_NONE: ResultComponent.ValueType = ... # 1
|
|
193
|
-
RESULT_COMPONENT_X: ResultComponent.ValueType = ... # 2
|
|
194
|
-
RESULT_COMPONENT_Y: ResultComponent.ValueType = ... # 3
|
|
195
|
-
RESULT_COMPONENT_Z: ResultComponent.ValueType = ... # 4
|
|
196
|
-
RESULT_COMPONENT_XX: ResultComponent.ValueType = ... # 5
|
|
197
|
-
RESULT_COMPONENT_YY: ResultComponent.ValueType = ... # 6
|
|
198
|
-
RESULT_COMPONENT_ZZ: ResultComponent.ValueType = ... # 7
|
|
199
|
-
RESULT_COMPONENT_YZ: ResultComponent.ValueType = ... # 8
|
|
200
|
-
RESULT_COMPONENT_XY: ResultComponent.ValueType = ... # 9
|
|
201
|
-
RESULT_COMPONENT_XZ: ResultComponent.ValueType = ... # 10
|
|
202
|
-
RESULT_COMPONENT_MAG: ResultComponent.ValueType = ... # 11
|
|
203
|
-
RESULT_COMPONENT_FIRST: ResultComponent.ValueType = ... # 12
|
|
204
|
-
RESULT_COMPONENT_SECOND: ResultComponent.ValueType = ... # 13
|
|
205
|
-
RESULT_COMPONENT_THIRD: ResultComponent.ValueType = ... # 14
|
|
206
|
-
RESULT_COMPONENT_VELOCITY: ResultComponent.ValueType = ... # 15
|
|
207
|
-
RESULT_COMPONENT_TEMPERATURE: ResultComponent.ValueType = ... # 16
|
|
208
|
-
RESULT_COMPONENT_REAL: ResultComponent.ValueType = ... # 17
|
|
209
|
-
RESULT_COMPONENT_IMAGINARY: ResultComponent.ValueType = ... # 18
|
|
210
|
-
RESULT_COMPONENT_PHASE: ResultComponent.ValueType = ... # 19
|
|
211
|
-
RESULT_COMPONENT_LOGARITHMIC_MAG: ResultComponent.ValueType = ... # 20
|
|
212
|
-
RESULT_COMPONENT_CONJUGATE_PHASE: ResultComponent.ValueType = ... # 21
|
|
213
|
-
RESULT_COMPONENT_TOTAL: ResultComponent.ValueType = ... # 22
|
|
214
|
-
RESULT_COMPONENT_L3X: ResultComponent.ValueType = ... # 23
|
|
215
|
-
RESULT_COMPONENT_L3Y: ResultComponent.ValueType = ... # 24
|
|
216
|
-
RESULT_COMPONENT_RHCP: ResultComponent.ValueType = ... # 25
|
|
217
|
-
RESULT_COMPONENT_LHCP: ResultComponent.ValueType = ... # 26
|
|
218
|
-
RESULT_COMPONENT_THETA: ResultComponent.ValueType = ... # 27
|
|
219
|
-
RESULT_COMPONENT_PHI: ResultComponent.ValueType = ... # 28
|
|
220
|
-
global___ResultComponent = ResultComponent
|
|
221
|
-
|
|
222
|
-
|
|
223
16
|
class CreateMonitorRequest(google.protobuf.message.Message):
|
|
224
17
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
225
18
|
CREATION_DATA_FIELD_NUMBER: builtins.int
|
|
@@ -266,16 +59,16 @@ class MonitorProperties(google.protobuf.message.Message):
|
|
|
266
59
|
RESULT_FUNCTION_FIELD_NUMBER: builtins.int
|
|
267
60
|
RESULT_COMPONENT_FIELD_NUMBER: builtins.int
|
|
268
61
|
LOCATIONS_SECONDARY_FIELD_NUMBER: builtins.int
|
|
269
|
-
result_variable:
|
|
270
|
-
result_function:
|
|
271
|
-
result_component:
|
|
62
|
+
result_variable: ansys.api.discovery.v0.results_pb2.ResultVariable.ValueType = ...
|
|
63
|
+
result_function: ansys.api.discovery.v0.results_pb2.ResultFunction.ValueType = ...
|
|
64
|
+
result_component: ansys.api.discovery.v0.results_pb2.ResultComponent.ValueType = ...
|
|
272
65
|
@property
|
|
273
66
|
def locations_secondary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
274
67
|
def __init__(self,
|
|
275
68
|
*,
|
|
276
|
-
result_variable :
|
|
277
|
-
result_function :
|
|
278
|
-
result_component : typing.Optional[
|
|
69
|
+
result_variable : ansys.api.discovery.v0.results_pb2.ResultVariable.ValueType = ...,
|
|
70
|
+
result_function : ansys.api.discovery.v0.results_pb2.ResultFunction.ValueType = ...,
|
|
71
|
+
result_component : typing.Optional[ansys.api.discovery.v0.results_pb2.ResultComponent.ValueType] = ...,
|
|
279
72
|
locations_secondary : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
280
73
|
) -> None: ...
|
|
281
74
|
def HasField(self, field_name: typing_extensions.Literal["_result_component",b"_result_component","result_component",b"result_component"]) -> builtins.bool: ...
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.results;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
6
|
+
import "google/protobuf/empty.proto";
|
|
7
|
+
|
|
8
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Results";
|
|
9
|
+
|
|
10
|
+
enum ResultVariable{
|
|
11
|
+
RESULT_VARIABLE_UNSPECIFIED = 0;
|
|
12
|
+
RESULT_VARIABLE_DISPLACEMENT = 1;
|
|
13
|
+
RESULT_VARIABLE_VON_MISES_STRESS = 2;
|
|
14
|
+
RESULT_VARIABLE_TEMPERATURE = 3;
|
|
15
|
+
RESULT_VARIABLE_STRESS = 4;
|
|
16
|
+
RESULT_VARIABLE_PRINCIPAL_STRESS = 5;
|
|
17
|
+
RESULT_VARIABLE_ELASTIC_STRAIN = 6;
|
|
18
|
+
RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN = 7;
|
|
19
|
+
RESULT_VARIABLE_HEAT_FLUX = 8;
|
|
20
|
+
RESULT_VARIABLE_PRESSURE = 9;
|
|
21
|
+
RESULT_VARIABLE_VELOCITY = 10;
|
|
22
|
+
RESULT_VARIABLE_VORTICES_LAMBDA_2 = 11;
|
|
23
|
+
RESULT_VARIABLE_MASS = 12;
|
|
24
|
+
RESULT_VARIABLE_LOCAL_REACTION_FORCE = 13;
|
|
25
|
+
RESULT_VARIABLE_REACTION_RESULTANT = 14;
|
|
26
|
+
RESULT_VARIABLE_DENSITY = 15;
|
|
27
|
+
RESULT_VARIABLE_FACTOR_OF_SAFETY = 16;
|
|
28
|
+
RESULT_VARIABLE_PRESSURE_DROP = 17;
|
|
29
|
+
RESULT_VARIABLE_CONTACT_REACTION = 18;
|
|
30
|
+
RESULT_VARIABLE_JOINT_TOTAL_FORCE = 19;
|
|
31
|
+
RESULT_VARIABLE_JOINT_TOTAL_MOMENT = 20;
|
|
32
|
+
RESULT_VARIABLE_FREQUENCY = 21;
|
|
33
|
+
RESULT_VARIABLE_MESH_STATISTICS = 22;
|
|
34
|
+
RESULT_VARIABLE_MESH_QUALITY = 23;
|
|
35
|
+
RESULT_VARIABLE_FLUID_FORCE = 24;
|
|
36
|
+
RESULT_VARIABLE_VOLUME = 25;
|
|
37
|
+
RESULT_VARIABLE_VOLUME_FLOW = 26;
|
|
38
|
+
RESULT_VARIABLE_MASS_FLOW = 27;
|
|
39
|
+
RESULT_VARIABLE_HEAT_FLOW = 28;
|
|
40
|
+
RESULT_VARIABLE_TOTAL_PRESSURE = 29;
|
|
41
|
+
RESULT_VARIABLE_FLOW_UNIFORMITY = 30;
|
|
42
|
+
RESULT_VARIABLE_S_PARAMETERS = 31;
|
|
43
|
+
RESULT_VARIABLE_GAIN = 32;
|
|
44
|
+
RESULT_VARIABLE_REALIZED_GAIN = 33;
|
|
45
|
+
RESULT_VARIABLE_DIRECTIVITY = 34;
|
|
46
|
+
RESULT_VARIABLE_AXIAL_RATIO = 35;
|
|
47
|
+
RESULT_VARIABLE_RADIAL_E = 36;
|
|
48
|
+
RESULT_VARIABLE_CONTACT_STRESS = 37;
|
|
49
|
+
RESULT_VARIABLE_MACH_NUMBER = 38;
|
|
50
|
+
RESULT_VARIABLE_ELECTRIC_FIELD = 39;
|
|
51
|
+
RESULT_VARIABLE_MAGNETIC_FIELD = 40;
|
|
52
|
+
RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY = 41;
|
|
53
|
+
RESULT_VARIABLE_AXIAL_STRESS = 42;
|
|
54
|
+
RESULT_VARIABLE_TORSIONAL_MOMENT = 43;
|
|
55
|
+
RESULT_VARIABLE_SHEAR_FORCE = 44;
|
|
56
|
+
RESULT_VARIABLE_ANTENNA_PARAMETERS = 45;
|
|
57
|
+
RESULT_VARIABLE_OPERATING_PRESSURE = 46;
|
|
58
|
+
RESULT_VARIABLE_RADIATIVE_HEAT_FLUX = 47;
|
|
59
|
+
RESULT_VARIABLE_VOLTAGE = 48;
|
|
60
|
+
RESULT_VARIABLE_CURRENT_DENSITY = 49;
|
|
61
|
+
RESULT_VARIABLE_JOULE_HEAT = 50;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
enum ResultFunction{
|
|
65
|
+
RESULT_FUNCTION_UNSPECIFIED = 0;
|
|
66
|
+
RESULT_FUNCTION_MINIMUM = 1;
|
|
67
|
+
RESULT_FUNCTION_MAXIMUM = 2;
|
|
68
|
+
RESULT_FUNCTION_AVERAGE = 3;
|
|
69
|
+
RESULT_FUNCTION_SUM = 4;
|
|
70
|
+
RESULT_FUNCTION_INTEGRAL = 5;
|
|
71
|
+
RESULT_FUNCTION_STANDARD_DEVIATION = 6;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
enum ResultComponent{
|
|
75
|
+
RESULT_COMPONENT_UNSPECIFIED = 0;
|
|
76
|
+
RESULT_COMPONENT_NONE = 1;
|
|
77
|
+
RESULT_COMPONENT_X = 2;
|
|
78
|
+
RESULT_COMPONENT_Y = 3;
|
|
79
|
+
RESULT_COMPONENT_Z = 4;
|
|
80
|
+
RESULT_COMPONENT_XX = 5;
|
|
81
|
+
RESULT_COMPONENT_YY = 6;
|
|
82
|
+
RESULT_COMPONENT_ZZ = 7;
|
|
83
|
+
RESULT_COMPONENT_YZ = 8;
|
|
84
|
+
RESULT_COMPONENT_XY = 9;
|
|
85
|
+
RESULT_COMPONENT_XZ = 10;
|
|
86
|
+
RESULT_COMPONENT_MAG = 11;
|
|
87
|
+
RESULT_COMPONENT_FIRST = 12;
|
|
88
|
+
RESULT_COMPONENT_SECOND = 13;
|
|
89
|
+
RESULT_COMPONENT_THIRD = 14;
|
|
90
|
+
RESULT_COMPONENT_VELOCITY = 15;
|
|
91
|
+
RESULT_COMPONENT_TEMPERATURE = 16;
|
|
92
|
+
RESULT_COMPONENT_REAL = 17;
|
|
93
|
+
RESULT_COMPONENT_IMAGINARY = 18;
|
|
94
|
+
RESULT_COMPONENT_PHASE = 19;
|
|
95
|
+
RESULT_COMPONENT_LOGARITHMIC_MAG = 20;
|
|
96
|
+
RESULT_COMPONENT_CONJUGATE_PHASE = 21;
|
|
97
|
+
RESULT_COMPONENT_TOTAL = 22;
|
|
98
|
+
RESULT_COMPONENT_L3X = 23;
|
|
99
|
+
RESULT_COMPONENT_L3Y = 24;
|
|
100
|
+
RESULT_COMPONENT_RHCP = 25;
|
|
101
|
+
RESULT_COMPONENT_LHCP = 26;
|
|
102
|
+
RESULT_COMPONENT_THETA = 27;
|
|
103
|
+
RESULT_COMPONENT_PHI = 28;
|
|
104
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ansys/api/discovery/v0/results.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
15
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$ansys/api/discovery/v0/results.proto\x12\x1e\x61nsys.api.discovery.v0.results\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x1bgoogle/protobuf/empty.proto*\x83\x0e\n\x0eResultVariable\x12\x1f\n\x1bRESULT_VARIABLE_UNSPECIFIED\x10\x00\x12 \n\x1cRESULT_VARIABLE_DISPLACEMENT\x10\x01\x12$\n RESULT_VARIABLE_VON_MISES_STRESS\x10\x02\x12\x1f\n\x1bRESULT_VARIABLE_TEMPERATURE\x10\x03\x12\x1a\n\x16RESULT_VARIABLE_STRESS\x10\x04\x12$\n RESULT_VARIABLE_PRINCIPAL_STRESS\x10\x05\x12\"\n\x1eRESULT_VARIABLE_ELASTIC_STRAIN\x10\x06\x12,\n(RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN\x10\x07\x12\x1d\n\x19RESULT_VARIABLE_HEAT_FLUX\x10\x08\x12\x1c\n\x18RESULT_VARIABLE_PRESSURE\x10\t\x12\x1c\n\x18RESULT_VARIABLE_VELOCITY\x10\n\x12%\n!RESULT_VARIABLE_VORTICES_LAMBDA_2\x10\x0b\x12\x18\n\x14RESULT_VARIABLE_MASS\x10\x0c\x12(\n$RESULT_VARIABLE_LOCAL_REACTION_FORCE\x10\r\x12&\n\"RESULT_VARIABLE_REACTION_RESULTANT\x10\x0e\x12\x1b\n\x17RESULT_VARIABLE_DENSITY\x10\x0f\x12$\n RESULT_VARIABLE_FACTOR_OF_SAFETY\x10\x10\x12!\n\x1dRESULT_VARIABLE_PRESSURE_DROP\x10\x11\x12$\n RESULT_VARIABLE_CONTACT_REACTION\x10\x12\x12%\n!RESULT_VARIABLE_JOINT_TOTAL_FORCE\x10\x13\x12&\n\"RESULT_VARIABLE_JOINT_TOTAL_MOMENT\x10\x14\x12\x1d\n\x19RESULT_VARIABLE_FREQUENCY\x10\x15\x12#\n\x1fRESULT_VARIABLE_MESH_STATISTICS\x10\x16\x12 \n\x1cRESULT_VARIABLE_MESH_QUALITY\x10\x17\x12\x1f\n\x1bRESULT_VARIABLE_FLUID_FORCE\x10\x18\x12\x1a\n\x16RESULT_VARIABLE_VOLUME\x10\x19\x12\x1f\n\x1bRESULT_VARIABLE_VOLUME_FLOW\x10\x1a\x12\x1d\n\x19RESULT_VARIABLE_MASS_FLOW\x10\x1b\x12\x1d\n\x19RESULT_VARIABLE_HEAT_FLOW\x10\x1c\x12\"\n\x1eRESULT_VARIABLE_TOTAL_PRESSURE\x10\x1d\x12#\n\x1fRESULT_VARIABLE_FLOW_UNIFORMITY\x10\x1e\x12 \n\x1cRESULT_VARIABLE_S_PARAMETERS\x10\x1f\x12\x18\n\x14RESULT_VARIABLE_GAIN\x10 \x12!\n\x1dRESULT_VARIABLE_REALIZED_GAIN\x10!\x12\x1f\n\x1bRESULT_VARIABLE_DIRECTIVITY\x10\"\x12\x1f\n\x1bRESULT_VARIABLE_AXIAL_RATIO\x10#\x12\x1c\n\x18RESULT_VARIABLE_RADIAL_E\x10$\x12\"\n\x1eRESULT_VARIABLE_CONTACT_STRESS\x10%\x12\x1f\n\x1bRESULT_VARIABLE_MACH_NUMBER\x10&\x12\"\n\x1eRESULT_VARIABLE_ELECTRIC_FIELD\x10\'\x12\"\n\x1eRESULT_VARIABLE_MAGNETIC_FIELD\x10(\x12/\n+RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY\x10)\x12 \n\x1cRESULT_VARIABLE_AXIAL_STRESS\x10*\x12$\n RESULT_VARIABLE_TORSIONAL_MOMENT\x10+\x12\x1f\n\x1bRESULT_VARIABLE_SHEAR_FORCE\x10,\x12&\n\"RESULT_VARIABLE_ANTENNA_PARAMETERS\x10-\x12&\n\"RESULT_VARIABLE_OPERATING_PRESSURE\x10.\x12\'\n#RESULT_VARIABLE_RADIATIVE_HEAT_FLUX\x10/\x12\x1b\n\x17RESULT_VARIABLE_VOLTAGE\x10\x30\x12#\n\x1fRESULT_VARIABLE_CURRENT_DENSITY\x10\x31\x12\x1e\n\x1aRESULT_VARIABLE_JOULE_HEAT\x10\x32*\xe7\x01\n\x0eResultFunction\x12\x1f\n\x1bRESULT_FUNCTION_UNSPECIFIED\x10\x00\x12\x1b\n\x17RESULT_FUNCTION_MINIMUM\x10\x01\x12\x1b\n\x17RESULT_FUNCTION_MAXIMUM\x10\x02\x12\x1b\n\x17RESULT_FUNCTION_AVERAGE\x10\x03\x12\x17\n\x13RESULT_FUNCTION_SUM\x10\x04\x12\x1c\n\x18RESULT_FUNCTION_INTEGRAL\x10\x05\x12&\n\"RESULT_FUNCTION_STANDARD_DEVIATION\x10\x06*\xbb\x06\n\x0fResultComponent\x12 \n\x1cRESULT_COMPONENT_UNSPECIFIED\x10\x00\x12\x19\n\x15RESULT_COMPONENT_NONE\x10\x01\x12\x16\n\x12RESULT_COMPONENT_X\x10\x02\x12\x16\n\x12RESULT_COMPONENT_Y\x10\x03\x12\x16\n\x12RESULT_COMPONENT_Z\x10\x04\x12\x17\n\x13RESULT_COMPONENT_XX\x10\x05\x12\x17\n\x13RESULT_COMPONENT_YY\x10\x06\x12\x17\n\x13RESULT_COMPONENT_ZZ\x10\x07\x12\x17\n\x13RESULT_COMPONENT_YZ\x10\x08\x12\x17\n\x13RESULT_COMPONENT_XY\x10\t\x12\x17\n\x13RESULT_COMPONENT_XZ\x10\n\x12\x18\n\x14RESULT_COMPONENT_MAG\x10\x0b\x12\x1a\n\x16RESULT_COMPONENT_FIRST\x10\x0c\x12\x1b\n\x17RESULT_COMPONENT_SECOND\x10\r\x12\x1a\n\x16RESULT_COMPONENT_THIRD\x10\x0e\x12\x1d\n\x19RESULT_COMPONENT_VELOCITY\x10\x0f\x12 \n\x1cRESULT_COMPONENT_TEMPERATURE\x10\x10\x12\x19\n\x15RESULT_COMPONENT_REAL\x10\x11\x12\x1e\n\x1aRESULT_COMPONENT_IMAGINARY\x10\x12\x12\x1a\n\x16RESULT_COMPONENT_PHASE\x10\x13\x12$\n RESULT_COMPONENT_LOGARITHMIC_MAG\x10\x14\x12$\n RESULT_COMPONENT_CONJUGATE_PHASE\x10\x15\x12\x1a\n\x16RESULT_COMPONENT_TOTAL\x10\x16\x12\x18\n\x14RESULT_COMPONENT_L3X\x10\x17\x12\x18\n\x14RESULT_COMPONENT_L3Y\x10\x18\x12\x19\n\x15RESULT_COMPONENT_RHCP\x10\x19\x12\x19\n\x15RESULT_COMPONENT_LHCP\x10\x1a\x12\x1a\n\x16RESULT_COMPONENT_THETA\x10\x1b\x12\x18\n\x14RESULT_COMPONENT_PHI\x10\x1c\x42!\xaa\x02\x1e\x41nsys.Api.Discovery.V0.Resultsb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.results_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
DESCRIPTOR._serialized_options = b'\252\002\036Ansys.Api.Discovery.V0.Results'
|
|
26
|
+
_RESULTVARIABLE._serialized_start=148
|
|
27
|
+
_RESULTVARIABLE._serialized_end=1943
|
|
28
|
+
_RESULTFUNCTION._serialized_start=1946
|
|
29
|
+
_RESULTFUNCTION._serialized_end=2177
|
|
30
|
+
_RESULTCOMPONENT._serialized_start=2180
|
|
31
|
+
_RESULTCOMPONENT._serialized_end=3007
|
|
32
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import builtins
|
|
6
|
+
import google.protobuf.descriptor
|
|
7
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
8
|
+
import typing
|
|
9
|
+
import typing_extensions
|
|
10
|
+
|
|
11
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
12
|
+
|
|
13
|
+
class _ResultVariable:
|
|
14
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
15
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
16
|
+
class _ResultVariableEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResultVariable.ValueType], builtins.type):
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
|
|
18
|
+
RESULT_VARIABLE_UNSPECIFIED: ResultVariable.ValueType = ... # 0
|
|
19
|
+
RESULT_VARIABLE_DISPLACEMENT: ResultVariable.ValueType = ... # 1
|
|
20
|
+
RESULT_VARIABLE_VON_MISES_STRESS: ResultVariable.ValueType = ... # 2
|
|
21
|
+
RESULT_VARIABLE_TEMPERATURE: ResultVariable.ValueType = ... # 3
|
|
22
|
+
RESULT_VARIABLE_STRESS: ResultVariable.ValueType = ... # 4
|
|
23
|
+
RESULT_VARIABLE_PRINCIPAL_STRESS: ResultVariable.ValueType = ... # 5
|
|
24
|
+
RESULT_VARIABLE_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 6
|
|
25
|
+
RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 7
|
|
26
|
+
RESULT_VARIABLE_HEAT_FLUX: ResultVariable.ValueType = ... # 8
|
|
27
|
+
RESULT_VARIABLE_PRESSURE: ResultVariable.ValueType = ... # 9
|
|
28
|
+
RESULT_VARIABLE_VELOCITY: ResultVariable.ValueType = ... # 10
|
|
29
|
+
RESULT_VARIABLE_VORTICES_LAMBDA_2: ResultVariable.ValueType = ... # 11
|
|
30
|
+
RESULT_VARIABLE_MASS: ResultVariable.ValueType = ... # 12
|
|
31
|
+
RESULT_VARIABLE_LOCAL_REACTION_FORCE: ResultVariable.ValueType = ... # 13
|
|
32
|
+
RESULT_VARIABLE_REACTION_RESULTANT: ResultVariable.ValueType = ... # 14
|
|
33
|
+
RESULT_VARIABLE_DENSITY: ResultVariable.ValueType = ... # 15
|
|
34
|
+
RESULT_VARIABLE_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 16
|
|
35
|
+
RESULT_VARIABLE_PRESSURE_DROP: ResultVariable.ValueType = ... # 17
|
|
36
|
+
RESULT_VARIABLE_CONTACT_REACTION: ResultVariable.ValueType = ... # 18
|
|
37
|
+
RESULT_VARIABLE_JOINT_TOTAL_FORCE: ResultVariable.ValueType = ... # 19
|
|
38
|
+
RESULT_VARIABLE_JOINT_TOTAL_MOMENT: ResultVariable.ValueType = ... # 20
|
|
39
|
+
RESULT_VARIABLE_FREQUENCY: ResultVariable.ValueType = ... # 21
|
|
40
|
+
RESULT_VARIABLE_MESH_STATISTICS: ResultVariable.ValueType = ... # 22
|
|
41
|
+
RESULT_VARIABLE_MESH_QUALITY: ResultVariable.ValueType = ... # 23
|
|
42
|
+
RESULT_VARIABLE_FLUID_FORCE: ResultVariable.ValueType = ... # 24
|
|
43
|
+
RESULT_VARIABLE_VOLUME: ResultVariable.ValueType = ... # 25
|
|
44
|
+
RESULT_VARIABLE_VOLUME_FLOW: ResultVariable.ValueType = ... # 26
|
|
45
|
+
RESULT_VARIABLE_MASS_FLOW: ResultVariable.ValueType = ... # 27
|
|
46
|
+
RESULT_VARIABLE_HEAT_FLOW: ResultVariable.ValueType = ... # 28
|
|
47
|
+
RESULT_VARIABLE_TOTAL_PRESSURE: ResultVariable.ValueType = ... # 29
|
|
48
|
+
RESULT_VARIABLE_FLOW_UNIFORMITY: ResultVariable.ValueType = ... # 30
|
|
49
|
+
RESULT_VARIABLE_S_PARAMETERS: ResultVariable.ValueType = ... # 31
|
|
50
|
+
RESULT_VARIABLE_GAIN: ResultVariable.ValueType = ... # 32
|
|
51
|
+
RESULT_VARIABLE_REALIZED_GAIN: ResultVariable.ValueType = ... # 33
|
|
52
|
+
RESULT_VARIABLE_DIRECTIVITY: ResultVariable.ValueType = ... # 34
|
|
53
|
+
RESULT_VARIABLE_AXIAL_RATIO: ResultVariable.ValueType = ... # 35
|
|
54
|
+
RESULT_VARIABLE_RADIAL_E: ResultVariable.ValueType = ... # 36
|
|
55
|
+
RESULT_VARIABLE_CONTACT_STRESS: ResultVariable.ValueType = ... # 37
|
|
56
|
+
RESULT_VARIABLE_MACH_NUMBER: ResultVariable.ValueType = ... # 38
|
|
57
|
+
RESULT_VARIABLE_ELECTRIC_FIELD: ResultVariable.ValueType = ... # 39
|
|
58
|
+
RESULT_VARIABLE_MAGNETIC_FIELD: ResultVariable.ValueType = ... # 40
|
|
59
|
+
RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 41
|
|
60
|
+
RESULT_VARIABLE_AXIAL_STRESS: ResultVariable.ValueType = ... # 42
|
|
61
|
+
RESULT_VARIABLE_TORSIONAL_MOMENT: ResultVariable.ValueType = ... # 43
|
|
62
|
+
RESULT_VARIABLE_SHEAR_FORCE: ResultVariable.ValueType = ... # 44
|
|
63
|
+
RESULT_VARIABLE_ANTENNA_PARAMETERS: ResultVariable.ValueType = ... # 45
|
|
64
|
+
RESULT_VARIABLE_OPERATING_PRESSURE: ResultVariable.ValueType = ... # 46
|
|
65
|
+
RESULT_VARIABLE_RADIATIVE_HEAT_FLUX: ResultVariable.ValueType = ... # 47
|
|
66
|
+
RESULT_VARIABLE_VOLTAGE: ResultVariable.ValueType = ... # 48
|
|
67
|
+
RESULT_VARIABLE_CURRENT_DENSITY: ResultVariable.ValueType = ... # 49
|
|
68
|
+
RESULT_VARIABLE_JOULE_HEAT: ResultVariable.ValueType = ... # 50
|
|
69
|
+
class ResultVariable(_ResultVariable, metaclass=_ResultVariableEnumTypeWrapper):
|
|
70
|
+
pass
|
|
71
|
+
|
|
72
|
+
RESULT_VARIABLE_UNSPECIFIED: ResultVariable.ValueType = ... # 0
|
|
73
|
+
RESULT_VARIABLE_DISPLACEMENT: ResultVariable.ValueType = ... # 1
|
|
74
|
+
RESULT_VARIABLE_VON_MISES_STRESS: ResultVariable.ValueType = ... # 2
|
|
75
|
+
RESULT_VARIABLE_TEMPERATURE: ResultVariable.ValueType = ... # 3
|
|
76
|
+
RESULT_VARIABLE_STRESS: ResultVariable.ValueType = ... # 4
|
|
77
|
+
RESULT_VARIABLE_PRINCIPAL_STRESS: ResultVariable.ValueType = ... # 5
|
|
78
|
+
RESULT_VARIABLE_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 6
|
|
79
|
+
RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 7
|
|
80
|
+
RESULT_VARIABLE_HEAT_FLUX: ResultVariable.ValueType = ... # 8
|
|
81
|
+
RESULT_VARIABLE_PRESSURE: ResultVariable.ValueType = ... # 9
|
|
82
|
+
RESULT_VARIABLE_VELOCITY: ResultVariable.ValueType = ... # 10
|
|
83
|
+
RESULT_VARIABLE_VORTICES_LAMBDA_2: ResultVariable.ValueType = ... # 11
|
|
84
|
+
RESULT_VARIABLE_MASS: ResultVariable.ValueType = ... # 12
|
|
85
|
+
RESULT_VARIABLE_LOCAL_REACTION_FORCE: ResultVariable.ValueType = ... # 13
|
|
86
|
+
RESULT_VARIABLE_REACTION_RESULTANT: ResultVariable.ValueType = ... # 14
|
|
87
|
+
RESULT_VARIABLE_DENSITY: ResultVariable.ValueType = ... # 15
|
|
88
|
+
RESULT_VARIABLE_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 16
|
|
89
|
+
RESULT_VARIABLE_PRESSURE_DROP: ResultVariable.ValueType = ... # 17
|
|
90
|
+
RESULT_VARIABLE_CONTACT_REACTION: ResultVariable.ValueType = ... # 18
|
|
91
|
+
RESULT_VARIABLE_JOINT_TOTAL_FORCE: ResultVariable.ValueType = ... # 19
|
|
92
|
+
RESULT_VARIABLE_JOINT_TOTAL_MOMENT: ResultVariable.ValueType = ... # 20
|
|
93
|
+
RESULT_VARIABLE_FREQUENCY: ResultVariable.ValueType = ... # 21
|
|
94
|
+
RESULT_VARIABLE_MESH_STATISTICS: ResultVariable.ValueType = ... # 22
|
|
95
|
+
RESULT_VARIABLE_MESH_QUALITY: ResultVariable.ValueType = ... # 23
|
|
96
|
+
RESULT_VARIABLE_FLUID_FORCE: ResultVariable.ValueType = ... # 24
|
|
97
|
+
RESULT_VARIABLE_VOLUME: ResultVariable.ValueType = ... # 25
|
|
98
|
+
RESULT_VARIABLE_VOLUME_FLOW: ResultVariable.ValueType = ... # 26
|
|
99
|
+
RESULT_VARIABLE_MASS_FLOW: ResultVariable.ValueType = ... # 27
|
|
100
|
+
RESULT_VARIABLE_HEAT_FLOW: ResultVariable.ValueType = ... # 28
|
|
101
|
+
RESULT_VARIABLE_TOTAL_PRESSURE: ResultVariable.ValueType = ... # 29
|
|
102
|
+
RESULT_VARIABLE_FLOW_UNIFORMITY: ResultVariable.ValueType = ... # 30
|
|
103
|
+
RESULT_VARIABLE_S_PARAMETERS: ResultVariable.ValueType = ... # 31
|
|
104
|
+
RESULT_VARIABLE_GAIN: ResultVariable.ValueType = ... # 32
|
|
105
|
+
RESULT_VARIABLE_REALIZED_GAIN: ResultVariable.ValueType = ... # 33
|
|
106
|
+
RESULT_VARIABLE_DIRECTIVITY: ResultVariable.ValueType = ... # 34
|
|
107
|
+
RESULT_VARIABLE_AXIAL_RATIO: ResultVariable.ValueType = ... # 35
|
|
108
|
+
RESULT_VARIABLE_RADIAL_E: ResultVariable.ValueType = ... # 36
|
|
109
|
+
RESULT_VARIABLE_CONTACT_STRESS: ResultVariable.ValueType = ... # 37
|
|
110
|
+
RESULT_VARIABLE_MACH_NUMBER: ResultVariable.ValueType = ... # 38
|
|
111
|
+
RESULT_VARIABLE_ELECTRIC_FIELD: ResultVariable.ValueType = ... # 39
|
|
112
|
+
RESULT_VARIABLE_MAGNETIC_FIELD: ResultVariable.ValueType = ... # 40
|
|
113
|
+
RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 41
|
|
114
|
+
RESULT_VARIABLE_AXIAL_STRESS: ResultVariable.ValueType = ... # 42
|
|
115
|
+
RESULT_VARIABLE_TORSIONAL_MOMENT: ResultVariable.ValueType = ... # 43
|
|
116
|
+
RESULT_VARIABLE_SHEAR_FORCE: ResultVariable.ValueType = ... # 44
|
|
117
|
+
RESULT_VARIABLE_ANTENNA_PARAMETERS: ResultVariable.ValueType = ... # 45
|
|
118
|
+
RESULT_VARIABLE_OPERATING_PRESSURE: ResultVariable.ValueType = ... # 46
|
|
119
|
+
RESULT_VARIABLE_RADIATIVE_HEAT_FLUX: ResultVariable.ValueType = ... # 47
|
|
120
|
+
RESULT_VARIABLE_VOLTAGE: ResultVariable.ValueType = ... # 48
|
|
121
|
+
RESULT_VARIABLE_CURRENT_DENSITY: ResultVariable.ValueType = ... # 49
|
|
122
|
+
RESULT_VARIABLE_JOULE_HEAT: ResultVariable.ValueType = ... # 50
|
|
123
|
+
global___ResultVariable = ResultVariable
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
class _ResultFunction:
|
|
127
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
128
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
129
|
+
class _ResultFunctionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResultFunction.ValueType], builtins.type):
|
|
130
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
|
|
131
|
+
RESULT_FUNCTION_UNSPECIFIED: ResultFunction.ValueType = ... # 0
|
|
132
|
+
RESULT_FUNCTION_MINIMUM: ResultFunction.ValueType = ... # 1
|
|
133
|
+
RESULT_FUNCTION_MAXIMUM: ResultFunction.ValueType = ... # 2
|
|
134
|
+
RESULT_FUNCTION_AVERAGE: ResultFunction.ValueType = ... # 3
|
|
135
|
+
RESULT_FUNCTION_SUM: ResultFunction.ValueType = ... # 4
|
|
136
|
+
RESULT_FUNCTION_INTEGRAL: ResultFunction.ValueType = ... # 5
|
|
137
|
+
RESULT_FUNCTION_STANDARD_DEVIATION: ResultFunction.ValueType = ... # 6
|
|
138
|
+
class ResultFunction(_ResultFunction, metaclass=_ResultFunctionEnumTypeWrapper):
|
|
139
|
+
pass
|
|
140
|
+
|
|
141
|
+
RESULT_FUNCTION_UNSPECIFIED: ResultFunction.ValueType = ... # 0
|
|
142
|
+
RESULT_FUNCTION_MINIMUM: ResultFunction.ValueType = ... # 1
|
|
143
|
+
RESULT_FUNCTION_MAXIMUM: ResultFunction.ValueType = ... # 2
|
|
144
|
+
RESULT_FUNCTION_AVERAGE: ResultFunction.ValueType = ... # 3
|
|
145
|
+
RESULT_FUNCTION_SUM: ResultFunction.ValueType = ... # 4
|
|
146
|
+
RESULT_FUNCTION_INTEGRAL: ResultFunction.ValueType = ... # 5
|
|
147
|
+
RESULT_FUNCTION_STANDARD_DEVIATION: ResultFunction.ValueType = ... # 6
|
|
148
|
+
global___ResultFunction = ResultFunction
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class _ResultComponent:
|
|
152
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
153
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
154
|
+
class _ResultComponentEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResultComponent.ValueType], builtins.type):
|
|
155
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
|
|
156
|
+
RESULT_COMPONENT_UNSPECIFIED: ResultComponent.ValueType = ... # 0
|
|
157
|
+
RESULT_COMPONENT_NONE: ResultComponent.ValueType = ... # 1
|
|
158
|
+
RESULT_COMPONENT_X: ResultComponent.ValueType = ... # 2
|
|
159
|
+
RESULT_COMPONENT_Y: ResultComponent.ValueType = ... # 3
|
|
160
|
+
RESULT_COMPONENT_Z: ResultComponent.ValueType = ... # 4
|
|
161
|
+
RESULT_COMPONENT_XX: ResultComponent.ValueType = ... # 5
|
|
162
|
+
RESULT_COMPONENT_YY: ResultComponent.ValueType = ... # 6
|
|
163
|
+
RESULT_COMPONENT_ZZ: ResultComponent.ValueType = ... # 7
|
|
164
|
+
RESULT_COMPONENT_YZ: ResultComponent.ValueType = ... # 8
|
|
165
|
+
RESULT_COMPONENT_XY: ResultComponent.ValueType = ... # 9
|
|
166
|
+
RESULT_COMPONENT_XZ: ResultComponent.ValueType = ... # 10
|
|
167
|
+
RESULT_COMPONENT_MAG: ResultComponent.ValueType = ... # 11
|
|
168
|
+
RESULT_COMPONENT_FIRST: ResultComponent.ValueType = ... # 12
|
|
169
|
+
RESULT_COMPONENT_SECOND: ResultComponent.ValueType = ... # 13
|
|
170
|
+
RESULT_COMPONENT_THIRD: ResultComponent.ValueType = ... # 14
|
|
171
|
+
RESULT_COMPONENT_VELOCITY: ResultComponent.ValueType = ... # 15
|
|
172
|
+
RESULT_COMPONENT_TEMPERATURE: ResultComponent.ValueType = ... # 16
|
|
173
|
+
RESULT_COMPONENT_REAL: ResultComponent.ValueType = ... # 17
|
|
174
|
+
RESULT_COMPONENT_IMAGINARY: ResultComponent.ValueType = ... # 18
|
|
175
|
+
RESULT_COMPONENT_PHASE: ResultComponent.ValueType = ... # 19
|
|
176
|
+
RESULT_COMPONENT_LOGARITHMIC_MAG: ResultComponent.ValueType = ... # 20
|
|
177
|
+
RESULT_COMPONENT_CONJUGATE_PHASE: ResultComponent.ValueType = ... # 21
|
|
178
|
+
RESULT_COMPONENT_TOTAL: ResultComponent.ValueType = ... # 22
|
|
179
|
+
RESULT_COMPONENT_L3X: ResultComponent.ValueType = ... # 23
|
|
180
|
+
RESULT_COMPONENT_L3Y: ResultComponent.ValueType = ... # 24
|
|
181
|
+
RESULT_COMPONENT_RHCP: ResultComponent.ValueType = ... # 25
|
|
182
|
+
RESULT_COMPONENT_LHCP: ResultComponent.ValueType = ... # 26
|
|
183
|
+
RESULT_COMPONENT_THETA: ResultComponent.ValueType = ... # 27
|
|
184
|
+
RESULT_COMPONENT_PHI: ResultComponent.ValueType = ... # 28
|
|
185
|
+
class ResultComponent(_ResultComponent, metaclass=_ResultComponentEnumTypeWrapper):
|
|
186
|
+
pass
|
|
187
|
+
|
|
188
|
+
RESULT_COMPONENT_UNSPECIFIED: ResultComponent.ValueType = ... # 0
|
|
189
|
+
RESULT_COMPONENT_NONE: ResultComponent.ValueType = ... # 1
|
|
190
|
+
RESULT_COMPONENT_X: ResultComponent.ValueType = ... # 2
|
|
191
|
+
RESULT_COMPONENT_Y: ResultComponent.ValueType = ... # 3
|
|
192
|
+
RESULT_COMPONENT_Z: ResultComponent.ValueType = ... # 4
|
|
193
|
+
RESULT_COMPONENT_XX: ResultComponent.ValueType = ... # 5
|
|
194
|
+
RESULT_COMPONENT_YY: ResultComponent.ValueType = ... # 6
|
|
195
|
+
RESULT_COMPONENT_ZZ: ResultComponent.ValueType = ... # 7
|
|
196
|
+
RESULT_COMPONENT_YZ: ResultComponent.ValueType = ... # 8
|
|
197
|
+
RESULT_COMPONENT_XY: ResultComponent.ValueType = ... # 9
|
|
198
|
+
RESULT_COMPONENT_XZ: ResultComponent.ValueType = ... # 10
|
|
199
|
+
RESULT_COMPONENT_MAG: ResultComponent.ValueType = ... # 11
|
|
200
|
+
RESULT_COMPONENT_FIRST: ResultComponent.ValueType = ... # 12
|
|
201
|
+
RESULT_COMPONENT_SECOND: ResultComponent.ValueType = ... # 13
|
|
202
|
+
RESULT_COMPONENT_THIRD: ResultComponent.ValueType = ... # 14
|
|
203
|
+
RESULT_COMPONENT_VELOCITY: ResultComponent.ValueType = ... # 15
|
|
204
|
+
RESULT_COMPONENT_TEMPERATURE: ResultComponent.ValueType = ... # 16
|
|
205
|
+
RESULT_COMPONENT_REAL: ResultComponent.ValueType = ... # 17
|
|
206
|
+
RESULT_COMPONENT_IMAGINARY: ResultComponent.ValueType = ... # 18
|
|
207
|
+
RESULT_COMPONENT_PHASE: ResultComponent.ValueType = ... # 19
|
|
208
|
+
RESULT_COMPONENT_LOGARITHMIC_MAG: ResultComponent.ValueType = ... # 20
|
|
209
|
+
RESULT_COMPONENT_CONJUGATE_PHASE: ResultComponent.ValueType = ... # 21
|
|
210
|
+
RESULT_COMPONENT_TOTAL: ResultComponent.ValueType = ... # 22
|
|
211
|
+
RESULT_COMPONENT_L3X: ResultComponent.ValueType = ... # 23
|
|
212
|
+
RESULT_COMPONENT_L3Y: ResultComponent.ValueType = ... # 24
|
|
213
|
+
RESULT_COMPONENT_RHCP: ResultComponent.ValueType = ... # 25
|
|
214
|
+
RESULT_COMPONENT_LHCP: ResultComponent.ValueType = ... # 26
|
|
215
|
+
RESULT_COMPONENT_THETA: ResultComponent.ValueType = ... # 27
|
|
216
|
+
RESULT_COMPONENT_PHI: ResultComponent.ValueType = ... # 28
|
|
217
|
+
global___ResultComponent = ResultComponent
|
|
218
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.discovery.v0.unsupported;
|
|
5
|
+
|
|
6
|
+
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
7
|
+
import "ansys/api/discovery/v0/results.proto";
|
|
8
|
+
import "google/protobuf/empty.proto";
|
|
9
|
+
|
|
10
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Unsupported";
|
|
11
|
+
|
|
12
|
+
service Unsupported {
|
|
13
|
+
|
|
14
|
+
// Exports Live results in byte array form.
|
|
15
|
+
rpc ExportResultsToOpenVDBMemory(VariableExportRequest) returns(ByteArrayResponse);
|
|
16
|
+
|
|
17
|
+
// Exports Live results to file.
|
|
18
|
+
rpc ExportResultsToOpenVDBFile(VariableExportRequestToFile) returns(ansys.api.dbu.v0.RequestResult);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message VariableExportRequest {
|
|
22
|
+
repeated ansys.api.discovery.v0.results.ResultVariable result_variables = 1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message VariableExportRequestToFile {
|
|
26
|
+
repeated ansys.api.discovery.v0.results.ResultVariable result_variables = 1;
|
|
27
|
+
string file_path = 2;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message ByteArrayResponse {
|
|
31
|
+
bytes bytes = 1;
|
|
32
|
+
bool success = 2;
|
|
33
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ansys/api/discovery/v0/unsupported.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
|
|
15
|
+
from ansys.api.discovery.v0 import results_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_results__pb2
|
|
16
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ansys/api/discovery/v0/unsupported.proto\x12\"ansys.api.discovery.v0.unsupported\x1a ansys/api/dbu/v0/dbumodels.proto\x1a$ansys/api/discovery/v0/results.proto\x1a\x1bgoogle/protobuf/empty.proto\"a\n\x15VariableExportRequest\x12H\n\x10result_variables\x18\x01 \x03(\x0e\x32..ansys.api.discovery.v0.results.ResultVariable\"z\n\x1bVariableExportRequestToFile\x12H\n\x10result_variables\x18\x01 \x03(\x0e\x32..ansys.api.discovery.v0.results.ResultVariable\x12\x11\n\tfile_path\x18\x02 \x01(\t\"3\n\x11\x42yteArrayResponse\x12\r\n\x05\x62ytes\x18\x01 \x01(\x0c\x12\x0f\n\x07success\x18\x02 \x01(\x08\x32\xa0\x02\n\x0bUnsupported\x12\x90\x01\n\x1c\x45xportResultsToOpenVDBMemory\x12\x39.ansys.api.discovery.v0.unsupported.VariableExportRequest\x1a\x35.ansys.api.discovery.v0.unsupported.ByteArrayResponse\x12~\n\x1a\x45xportResultsToOpenVDBFile\x12?.ansys.api.discovery.v0.unsupported.VariableExportRequestToFile\x1a\x1f.ansys.api.dbu.v0.RequestResultB%\xaa\x02\"Ansys.Api.Discovery.V0.Unsupportedb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.unsupported_pb2', globals())
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'\252\002\"Ansys.Api.Discovery.V0.Unsupported'
|
|
27
|
+
_VARIABLEEXPORTREQUEST._serialized_start=181
|
|
28
|
+
_VARIABLEEXPORTREQUEST._serialized_end=278
|
|
29
|
+
_VARIABLEEXPORTREQUESTTOFILE._serialized_start=280
|
|
30
|
+
_VARIABLEEXPORTREQUESTTOFILE._serialized_end=402
|
|
31
|
+
_BYTEARRAYRESPONSE._serialized_start=404
|
|
32
|
+
_BYTEARRAYRESPONSE._serialized_end=455
|
|
33
|
+
_UNSUPPORTED._serialized_start=458
|
|
34
|
+
_UNSUPPORTED._serialized_end=746
|
|
35
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import ansys.api.discovery.v0.results_pb2
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.internal.containers
|
|
9
|
+
import google.protobuf.message
|
|
10
|
+
import typing
|
|
11
|
+
import typing_extensions
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
14
|
+
|
|
15
|
+
class VariableExportRequest(google.protobuf.message.Message):
|
|
16
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
17
|
+
RESULT_VARIABLES_FIELD_NUMBER: builtins.int
|
|
18
|
+
@property
|
|
19
|
+
def result_variables(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ansys.api.discovery.v0.results_pb2.ResultVariable.ValueType]: ...
|
|
20
|
+
def __init__(self,
|
|
21
|
+
*,
|
|
22
|
+
result_variables : typing.Optional[typing.Iterable[ansys.api.discovery.v0.results_pb2.ResultVariable.ValueType]] = ...,
|
|
23
|
+
) -> None: ...
|
|
24
|
+
def ClearField(self, field_name: typing_extensions.Literal["result_variables",b"result_variables"]) -> None: ...
|
|
25
|
+
global___VariableExportRequest = VariableExportRequest
|
|
26
|
+
|
|
27
|
+
class VariableExportRequestToFile(google.protobuf.message.Message):
|
|
28
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
29
|
+
RESULT_VARIABLES_FIELD_NUMBER: builtins.int
|
|
30
|
+
FILE_PATH_FIELD_NUMBER: builtins.int
|
|
31
|
+
@property
|
|
32
|
+
def result_variables(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ansys.api.discovery.v0.results_pb2.ResultVariable.ValueType]: ...
|
|
33
|
+
file_path: typing.Text = ...
|
|
34
|
+
def __init__(self,
|
|
35
|
+
*,
|
|
36
|
+
result_variables : typing.Optional[typing.Iterable[ansys.api.discovery.v0.results_pb2.ResultVariable.ValueType]] = ...,
|
|
37
|
+
file_path : typing.Text = ...,
|
|
38
|
+
) -> None: ...
|
|
39
|
+
def ClearField(self, field_name: typing_extensions.Literal["file_path",b"file_path","result_variables",b"result_variables"]) -> None: ...
|
|
40
|
+
global___VariableExportRequestToFile = VariableExportRequestToFile
|
|
41
|
+
|
|
42
|
+
class ByteArrayResponse(google.protobuf.message.Message):
|
|
43
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
44
|
+
BYTES_FIELD_NUMBER: builtins.int
|
|
45
|
+
SUCCESS_FIELD_NUMBER: builtins.int
|
|
46
|
+
bytes: builtins.bytes = ...
|
|
47
|
+
success: builtins.bool = ...
|
|
48
|
+
def __init__(self,
|
|
49
|
+
*,
|
|
50
|
+
bytes : builtins.bytes = ...,
|
|
51
|
+
success : builtins.bool = ...,
|
|
52
|
+
) -> None: ...
|
|
53
|
+
def ClearField(self, field_name: typing_extensions.Literal["bytes",b"bytes","success",b"success"]) -> None: ...
|
|
54
|
+
global___ByteArrayResponse = ByteArrayResponse
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
|
|
6
|
+
from ansys.api.discovery.v0 import unsupported_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class UnsupportedStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.ExportResultsToOpenVDBMemory = channel.unary_unary(
|
|
19
|
+
'/ansys.api.discovery.v0.unsupported.Unsupported/ExportResultsToOpenVDBMemory',
|
|
20
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.VariableExportRequest.SerializeToString,
|
|
21
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.ByteArrayResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.ExportResultsToOpenVDBFile = channel.unary_unary(
|
|
24
|
+
'/ansys.api.discovery.v0.unsupported.Unsupported/ExportResultsToOpenVDBFile',
|
|
25
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.VariableExportRequestToFile.SerializeToString,
|
|
26
|
+
response_deserializer=ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2.RequestResult.FromString,
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class UnsupportedServicer(object):
|
|
31
|
+
"""Missing associated documentation comment in .proto file."""
|
|
32
|
+
|
|
33
|
+
def ExportResultsToOpenVDBMemory(self, request, context):
|
|
34
|
+
"""Exports Live results in byte array form.
|
|
35
|
+
"""
|
|
36
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
37
|
+
context.set_details('Method not implemented!')
|
|
38
|
+
raise NotImplementedError('Method not implemented!')
|
|
39
|
+
|
|
40
|
+
def ExportResultsToOpenVDBFile(self, request, context):
|
|
41
|
+
"""Exports Live results to file.
|
|
42
|
+
"""
|
|
43
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
44
|
+
context.set_details('Method not implemented!')
|
|
45
|
+
raise NotImplementedError('Method not implemented!')
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def add_UnsupportedServicer_to_server(servicer, server):
|
|
49
|
+
rpc_method_handlers = {
|
|
50
|
+
'ExportResultsToOpenVDBMemory': grpc.unary_unary_rpc_method_handler(
|
|
51
|
+
servicer.ExportResultsToOpenVDBMemory,
|
|
52
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.VariableExportRequest.FromString,
|
|
53
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.ByteArrayResponse.SerializeToString,
|
|
54
|
+
),
|
|
55
|
+
'ExportResultsToOpenVDBFile': grpc.unary_unary_rpc_method_handler(
|
|
56
|
+
servicer.ExportResultsToOpenVDBFile,
|
|
57
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.VariableExportRequestToFile.FromString,
|
|
58
|
+
response_serializer=ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2.RequestResult.SerializeToString,
|
|
59
|
+
),
|
|
60
|
+
}
|
|
61
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
62
|
+
'ansys.api.discovery.v0.unsupported.Unsupported', rpc_method_handlers)
|
|
63
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
# This class is part of an EXPERIMENTAL API.
|
|
67
|
+
class Unsupported(object):
|
|
68
|
+
"""Missing associated documentation comment in .proto file."""
|
|
69
|
+
|
|
70
|
+
@staticmethod
|
|
71
|
+
def ExportResultsToOpenVDBMemory(request,
|
|
72
|
+
target,
|
|
73
|
+
options=(),
|
|
74
|
+
channel_credentials=None,
|
|
75
|
+
call_credentials=None,
|
|
76
|
+
insecure=False,
|
|
77
|
+
compression=None,
|
|
78
|
+
wait_for_ready=None,
|
|
79
|
+
timeout=None,
|
|
80
|
+
metadata=None):
|
|
81
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.unsupported.Unsupported/ExportResultsToOpenVDBMemory',
|
|
82
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.VariableExportRequest.SerializeToString,
|
|
83
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.ByteArrayResponse.FromString,
|
|
84
|
+
options, channel_credentials,
|
|
85
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
86
|
+
|
|
87
|
+
@staticmethod
|
|
88
|
+
def ExportResultsToOpenVDBFile(request,
|
|
89
|
+
target,
|
|
90
|
+
options=(),
|
|
91
|
+
channel_credentials=None,
|
|
92
|
+
call_credentials=None,
|
|
93
|
+
insecure=False,
|
|
94
|
+
compression=None,
|
|
95
|
+
wait_for_ready=None,
|
|
96
|
+
timeout=None,
|
|
97
|
+
metadata=None):
|
|
98
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.unsupported.Unsupported/ExportResultsToOpenVDBFile',
|
|
99
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.VariableExportRequestToFile.SerializeToString,
|
|
100
|
+
ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2.RequestResult.FromString,
|
|
101
|
+
options, channel_credentials,
|
|
102
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import abc
|
|
6
|
+
import ansys.api.dbu.v0.dbumodels_pb2
|
|
7
|
+
import ansys.api.discovery.v0.unsupported_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class UnsupportedStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
ExportResultsToOpenVDBMemory: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.unsupported_pb2.VariableExportRequest,
|
|
14
|
+
ansys.api.discovery.v0.unsupported_pb2.ByteArrayResponse] = ...
|
|
15
|
+
"""Exports Live results in byte array form."""
|
|
16
|
+
|
|
17
|
+
ExportResultsToOpenVDBFile: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.unsupported_pb2.VariableExportRequestToFile,
|
|
19
|
+
ansys.api.dbu.v0.dbumodels_pb2.RequestResult] = ...
|
|
20
|
+
"""Exports Live results to file."""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class UnsupportedServicer(metaclass=abc.ABCMeta):
|
|
24
|
+
@abc.abstractmethod
|
|
25
|
+
def ExportResultsToOpenVDBMemory(self,
|
|
26
|
+
request: ansys.api.discovery.v0.unsupported_pb2.VariableExportRequest,
|
|
27
|
+
context: grpc.ServicerContext,
|
|
28
|
+
) -> ansys.api.discovery.v0.unsupported_pb2.ByteArrayResponse:
|
|
29
|
+
"""Exports Live results in byte array form."""
|
|
30
|
+
pass
|
|
31
|
+
|
|
32
|
+
@abc.abstractmethod
|
|
33
|
+
def ExportResultsToOpenVDBFile(self,
|
|
34
|
+
request: ansys.api.discovery.v0.unsupported_pb2.VariableExportRequestToFile,
|
|
35
|
+
context: grpc.ServicerContext,
|
|
36
|
+
) -> ansys.api.dbu.v0.dbumodels_pb2.RequestResult:
|
|
37
|
+
"""Exports Live results to file."""
|
|
38
|
+
pass
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def add_UnsupportedServicer_to_server(servicer: UnsupportedServicer, server: grpc.Server) -> None: ...
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ansys-api-discovery
|
|
3
|
-
Version: 0.6.
|
|
4
|
-
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on
|
|
3
|
+
Version: 0.6.2
|
|
4
|
+
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on 07:29:50 on 03 December 2024
|
|
5
5
|
Home-page: https://github.com/ansys/ansys-api-discovery
|
|
6
6
|
Author: ANSYS, Inc.
|
|
7
7
|
Author-email: support@ansys.com
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ansys/api/discovery/VERSION,sha256=
|
|
1
|
+
ansys/api/discovery/VERSION,sha256=pGbvIJ9cOu5f8McC4unVzO1Hg9KmVeirZjMPIaVVez8,6
|
|
2
2
|
ansys/api/discovery/__init__.py,sha256=c2GxEoryXIQtBEhwLRN45MOr4IsG1UbsHYBzUnvXGDM,231
|
|
3
3
|
ansys/api/discovery/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
ansys/api/discovery/v0/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
@@ -42,11 +42,16 @@ ansys/api/discovery/v0/messaging_pb2.py,sha256=O9N7jQcb3jleaJj60Cc4HSIi8D5IjlNJi
|
|
|
42
42
|
ansys/api/discovery/v0/messaging_pb2.pyi,sha256=7pVtwf6MQNpMkPlPrw5F4kfO6EPjREF3_rV-VmRfjy8,716
|
|
43
43
|
ansys/api/discovery/v0/messaging_pb2_grpc.py,sha256=q7Og7xEn4CApFY5NwPRN1-cpQvyW6E5TjrQnoc4xeMw,4466
|
|
44
44
|
ansys/api/discovery/v0/messaging_pb2_grpc.pyi,sha256=22vxFZ2OMICUFsfbDiJRq4gdwXo79wDC2KTvPnLy3G4,1260
|
|
45
|
-
ansys/api/discovery/v0/monitors.proto,sha256=
|
|
46
|
-
ansys/api/discovery/v0/monitors_pb2.py,sha256=
|
|
47
|
-
ansys/api/discovery/v0/monitors_pb2.pyi,sha256=
|
|
45
|
+
ansys/api/discovery/v0/monitors.proto,sha256=HNshmmZvIkjoTOScA6MTAUYbMcRjYPxWBeozQJdYnio,1186
|
|
46
|
+
ansys/api/discovery/v0/monitors_pb2.py,sha256=ECJ8eUxg10nrgrySK6dfDKnlwrnHpqRHVg-B5jwQYeY,3172
|
|
47
|
+
ansys/api/discovery/v0/monitors_pb2.pyi,sha256=ZCGf3dPjKJJBwAyR21qqour86KwcGgs0qT9iLz3K8GY,5342
|
|
48
48
|
ansys/api/discovery/v0/monitors_pb2_grpc.py,sha256=9E4Gnr4u9efP3_7JhOuzR5YyqRCgR6OXrwjOU7HE-QI,2825
|
|
49
49
|
ansys/api/discovery/v0/monitors_pb2_grpc.pyi,sha256=ht2Mwq49Y-92_MNlEzojXmPemi1gmsE7XhawQEe9RpM,877
|
|
50
|
+
ansys/api/discovery/v0/results.proto,sha256=Frawz3dxK8YKmWbU8j44lJqYt6s0S4auadImxhG2LVc,3415
|
|
51
|
+
ansys/api/discovery/v0/results_pb2.py,sha256=KTE4P151gWNVSovApCxgp9pONtsFk6Avjl8o4BB38r0,5650
|
|
52
|
+
ansys/api/discovery/v0/results_pb2.pyi,sha256=j3aFC2TuCSgdMUkg2nj-dm3YLc9SQSJPlb3NeoHLRg8,13387
|
|
53
|
+
ansys/api/discovery/v0/results_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
54
|
+
ansys/api/discovery/v0/results_pb2_grpc.pyi,sha256=ff2TSiLVnG6IVQcTGzb2DIH3XRSoAvAo_RMcvbMFyc0,76
|
|
50
55
|
ansys/api/discovery/v0/scriptparameters.proto,sha256=hIXZjxv8vyJP-m4GNOzUTVoTERvRCF5dwkP53LNS6lc,1167
|
|
51
56
|
ansys/api/discovery/v0/scriptparameters_pb2.py,sha256=_1ryfv7k6koRvojxhaC5VNAEuoa41m3IPcmH8sJXtac,2742
|
|
52
57
|
ansys/api/discovery/v0/scriptparameters_pb2.pyi,sha256=9wQXDBkfSUmfZdxqVtX7yY1w6U0u4111zh50FtMHadw,2771
|
|
@@ -67,9 +72,14 @@ ansys/api/discovery/v0/units_pb2.py,sha256=k8n3o8rH_yt48xqvjzPu8XONteVLI_Eg8Bbwk
|
|
|
67
72
|
ansys/api/discovery/v0/units_pb2.pyi,sha256=1sBHhZfIxIssrgeO3jIgMQ-5nMhBBn8qkr93C60Jg2c,201214
|
|
68
73
|
ansys/api/discovery/v0/units_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
69
74
|
ansys/api/discovery/v0/units_pb2_grpc.pyi,sha256=ff2TSiLVnG6IVQcTGzb2DIH3XRSoAvAo_RMcvbMFyc0,76
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
ansys_api_discovery-0.6.
|
|
75
|
+
ansys/api/discovery/v0/unsupported.proto,sha256=_XuF-BtGc71zKf_LxOGXMxhgSBD_9jkutKKgbTOZIsY,973
|
|
76
|
+
ansys/api/discovery/v0/unsupported_pb2.py,sha256=ofOCaosQf6fXLpI7lM5hLCsV65fI8hbqKV1K7OZrLTI,2548
|
|
77
|
+
ansys/api/discovery/v0/unsupported_pb2.pyi,sha256=wQ-iSPmW9Q54qT7FAkOEncgchsG__P1_1hNOfud0S7U,2469
|
|
78
|
+
ansys/api/discovery/v0/unsupported_pb2_grpc.py,sha256=11CkFdcBg0M5CHpGy4YunpYY8Qm9yQs0qV5EnFFGQA0,4998
|
|
79
|
+
ansys/api/discovery/v0/unsupported_pb2_grpc.pyi,sha256=xEZkaWTvk57dz8SIAq9t6SG_yrLF9S0-iY-1550apPI,1541
|
|
80
|
+
ansys_api_discovery-0.6.2.dist-info/LICENSE,sha256=q2LY-0-hseAc1SDA7rBn96IDi2SHenCzygJda8-7AAU,1089
|
|
81
|
+
ansys_api_discovery-0.6.2.dist-info/METADATA,sha256=hvMCfIK5isr7cSDUow4UlCXXo5Vkywp3xpNBqGaSDOI,1922
|
|
82
|
+
ansys_api_discovery-0.6.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
83
|
+
ansys_api_discovery-0.6.2.dist-info/entry_points.txt,sha256=WScutwzRi-SS6g8pXveUJiIOBeIoLBqDVpsPMCAYzmY,91
|
|
84
|
+
ansys_api_discovery-0.6.2.dist-info/top_level.txt,sha256=9rw0UJ0mtof2GA3U8RpqYo6EmbpfE8-wo3NoX6SlYtg,6
|
|
85
|
+
ansys_api_discovery-0.6.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{ansys_api_discovery-0.6.1.dist-info → ansys_api_discovery-0.6.2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|