luminarycloud 0.10.2__py3-none-any.whl → 0.11.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.
- luminarycloud/__init__.py +4 -1
- luminarycloud/_client/client.py +3 -0
- luminarycloud/_helpers/warnings/deprecated.py +39 -15
- luminarycloud/_helpers/warnings/experimental.py +28 -4
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +57 -100
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +9 -97
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.py +384 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +813 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.py +198 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.pyi +64 -0
- luminarycloud/enum/__init__.py +11 -0
- luminarycloud/enum/quantity_type.py +84 -45
- luminarycloud/enum/vector3_component.py +20 -0
- luminarycloud/enum/vis_enums.py +171 -0
- luminarycloud/meshing/mesh_adaptation_params.py +2 -0
- luminarycloud/meshing/mesh_generation_params.py +3 -2
- luminarycloud/meshing/sizing_strategy/__init__.py +1 -0
- luminarycloud/meshing/sizing_strategy/sizing_strategies.py +20 -0
- luminarycloud/params/param_wrappers/simulation_param/__init__.py +0 -1
- luminarycloud/params/param_wrappers/simulation_param_.py +0 -7
- luminarycloud/reference_values.py +27 -12
- luminarycloud/simulation.py +9 -3
- luminarycloud/simulation_param.py +66 -4
- luminarycloud/simulation_template.py +3 -2
- luminarycloud/types/vector3.py +9 -1
- luminarycloud/vis/__init__.py +26 -0
- luminarycloud/vis/display.py +127 -0
- luminarycloud/vis/filters.py +183 -0
- luminarycloud/vis/visualization.py +471 -0
- {luminarycloud-0.10.2.dist-info → luminarycloud-0.11.0.dist-info}/METADATA +1 -1
- {luminarycloud-0.10.2.dist-info → luminarycloud-0.11.0.dist-info}/RECORD +33 -24
- {luminarycloud-0.10.2.dist-info → luminarycloud-0.11.0.dist-info}/WHEEL +1 -1
- luminarycloud/params/param_wrappers/simulation_param/reference_values_.py +0 -68
- {luminarycloud-0.10.2.dist-info → luminarycloud-0.11.0.dist-info}/top_level.txt +0 -0
luminarycloud/__init__.py
CHANGED
|
@@ -9,6 +9,7 @@ from . import (
|
|
|
9
9
|
meshing as meshing,
|
|
10
10
|
params as params,
|
|
11
11
|
types as types,
|
|
12
|
+
vis as vis,
|
|
12
13
|
)
|
|
13
14
|
|
|
14
15
|
from ._client import (
|
|
@@ -50,7 +51,9 @@ from .solution import (
|
|
|
50
51
|
from .reference_values import (
|
|
51
52
|
ReferenceValues as ReferenceValues,
|
|
52
53
|
)
|
|
53
|
-
|
|
54
|
+
from .volume_selection import (
|
|
55
|
+
VolumeSelection as VolumeSelection,
|
|
56
|
+
)
|
|
54
57
|
|
|
55
58
|
# Log SDK version number
|
|
56
59
|
logger = _logging.getLogger("luminarycloud")
|
luminarycloud/_client/client.py
CHANGED
|
@@ -20,6 +20,7 @@ from .._proto.api.v0.luminarycloud.simulation_template.simulation_template_pb2_g
|
|
|
20
20
|
)
|
|
21
21
|
from .._proto.api.v0.luminarycloud.solution.solution_pb2_grpc import SolutionServiceStub
|
|
22
22
|
from .._proto.api.v0.luminarycloud.upload.upload_pb2_grpc import UploadServiceStub
|
|
23
|
+
from .._proto.api.v0.luminarycloud.vis.vis_pb2_grpc import VisAPIServiceStub
|
|
23
24
|
from .authentication_plugin import AuthenticationPlugin
|
|
24
25
|
from .config import LC_DOMAIN, LC_API_KEY
|
|
25
26
|
from .logging_interceptor import LoggingInterceptor
|
|
@@ -38,6 +39,7 @@ class Client(
|
|
|
38
39
|
GeometryServiceStub,
|
|
39
40
|
SolutionServiceStub,
|
|
40
41
|
UploadServiceStub,
|
|
42
|
+
VisAPIServiceStub,
|
|
41
43
|
):
|
|
42
44
|
"""
|
|
43
45
|
Creates a Luminary API client.
|
|
@@ -177,6 +179,7 @@ class Client(
|
|
|
177
179
|
UploadServiceStub.__init__(self, self._channel)
|
|
178
180
|
SolutionServiceStub.__init__(self, self._channel)
|
|
179
181
|
SimulationTemplateServiceStub.__init__(self, self._channel)
|
|
182
|
+
VisAPIServiceStub.__init__(self, self._channel)
|
|
180
183
|
|
|
181
184
|
for name, value in self.__dict__.items():
|
|
182
185
|
if isinstance(value, grpc.UnaryUnaryMultiCallable):
|
|
@@ -1,31 +1,55 @@
|
|
|
1
1
|
import warnings
|
|
2
2
|
from functools import wraps
|
|
3
|
-
from typing import Callable
|
|
3
|
+
from typing import Callable, TypeVar
|
|
4
4
|
|
|
5
|
+
C = TypeVar("C")
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
|
|
8
|
+
def deprecated(reason: str, version: str) -> Callable[[C], C]:
|
|
7
9
|
"""
|
|
8
|
-
Mark a function as deprecated.
|
|
10
|
+
Mark a class or function as deprecated.
|
|
9
11
|
|
|
10
12
|
Parameters
|
|
11
13
|
----------
|
|
12
14
|
reason : str
|
|
13
15
|
The reason for deprecation.
|
|
14
16
|
version : str
|
|
15
|
-
The version in which the function was deprecated.
|
|
17
|
+
The version in which the class or function was deprecated.
|
|
16
18
|
"""
|
|
17
19
|
|
|
18
|
-
def decorator(f: Callable) -> Callable:
|
|
20
|
+
def decorator(f: Callable | type[C]) -> Callable | type[C]:
|
|
21
|
+
if isinstance(f, type):
|
|
22
|
+
return _deprecated_class(f, reason, version)
|
|
23
|
+
else:
|
|
24
|
+
return _deprecated_function(f, reason, version)
|
|
25
|
+
|
|
26
|
+
return decorator
|
|
19
27
|
|
|
20
|
-
@wraps(f)
|
|
21
|
-
def new_func(*args, **kwargs):
|
|
22
|
-
warnings.warn(
|
|
23
|
-
f"{f.__name__} is deprecated since version {version}: {reason}",
|
|
24
|
-
category=DeprecationWarning,
|
|
25
|
-
stacklevel=2,
|
|
26
|
-
)
|
|
27
|
-
return f(*args, **kwargs)
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
def _deprecated_class(cls: type[C], reason: str, version: str) -> type[C]:
|
|
30
|
+
old_init = cls.__init__
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
@wraps(old_init)
|
|
33
|
+
def new_init(self, *args, **kwargs):
|
|
34
|
+
warnings.warn(
|
|
35
|
+
f"{cls.__name__} is deprecated after version {version}: {reason}",
|
|
36
|
+
category=DeprecationWarning,
|
|
37
|
+
stacklevel=2,
|
|
38
|
+
)
|
|
39
|
+
return old_init(self, *args, **kwargs)
|
|
40
|
+
|
|
41
|
+
cls.__init__ = new_init
|
|
42
|
+
return cls
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def _deprecated_function(f: Callable, reason: str, version: str) -> Callable:
|
|
46
|
+
@wraps(f)
|
|
47
|
+
def new_func(*args, **kwargs):
|
|
48
|
+
warnings.warn(
|
|
49
|
+
f"{f.__name__}() is deprecated after version {version}: {reason}",
|
|
50
|
+
category=DeprecationWarning,
|
|
51
|
+
stacklevel=2,
|
|
52
|
+
)
|
|
53
|
+
return f(*args, **kwargs)
|
|
54
|
+
|
|
55
|
+
return new_func
|
|
@@ -1,15 +1,39 @@
|
|
|
1
1
|
import warnings
|
|
2
2
|
from functools import wraps
|
|
3
|
-
from typing import Callable
|
|
3
|
+
from typing import Callable, TypeVar
|
|
4
4
|
|
|
5
|
+
C = TypeVar("C")
|
|
5
6
|
|
|
6
|
-
def experimental(f: Callable) -> Callable:
|
|
7
|
-
"""Mark a function as experimental."""
|
|
8
7
|
|
|
8
|
+
def experimental(f: Callable | type[C]) -> Callable | type[C]:
|
|
9
|
+
"""Mark a function or class as experimental."""
|
|
10
|
+
if isinstance(f, type):
|
|
11
|
+
return _experimental_class(f)
|
|
12
|
+
else:
|
|
13
|
+
return _experimental_function(f)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def _experimental_class(cls: type[C]) -> type[C]:
|
|
17
|
+
old_init = cls.__init__
|
|
18
|
+
|
|
19
|
+
@wraps(old_init)
|
|
20
|
+
def new_init(self, *args, **kwargs):
|
|
21
|
+
warnings.warn(
|
|
22
|
+
f"{cls.__name__} is an experimental feature and may change or be removed without notice.",
|
|
23
|
+
category=FutureWarning,
|
|
24
|
+
stacklevel=2,
|
|
25
|
+
)
|
|
26
|
+
return old_init(self, *args, **kwargs)
|
|
27
|
+
|
|
28
|
+
cls.__init__ = new_init
|
|
29
|
+
return cls
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def _experimental_function(f: Callable) -> Callable:
|
|
9
33
|
@wraps(f)
|
|
10
34
|
def new_func(*args, **kwargs):
|
|
11
35
|
warnings.warn(
|
|
12
|
-
f"{f.__name__} is an experimental feature and may change or be removed without notice.",
|
|
36
|
+
f"{f.__name__}() is an experimental feature and may change or be removed without notice.",
|
|
13
37
|
category=FutureWarning,
|
|
14
38
|
stacklevel=2,
|
|
15
39
|
)
|
|
@@ -16,60 +16,19 @@ _sym_db = _symbol_database.Default()
|
|
|
16
16
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
17
17
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
18
18
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
19
|
+
from luminarycloud._proto.base import base_pb2 as proto_dot_base_dot_base__pb2
|
|
20
|
+
from luminarycloud._proto.quantity import quantity_pb2 as proto_dot_quantity_dot_quantity__pb2
|
|
19
21
|
from luminarycloud._proto.output import reference_values_pb2 as proto_dot_output_dot_reference__values__pb2
|
|
20
22
|
from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_simulation__pb2
|
|
21
23
|
from luminarycloud._proto.api.v0.luminarycloud.common import common_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_common_dot_common__pb2
|
|
22
24
|
|
|
23
25
|
|
|
24
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6proto/api/v0/luminarycloud/simulation/simulation.proto\x12.luminary.proto.api.v0.luminarycloud.simulation\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a#proto/output/reference_values.proto\x1a\x1dproto/client/simulation.proto\x1a.proto/api/v0/luminarycloud/common/common.proto\"\xf4\x03\n\nSimulation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x06status\x18\x05 \x01(\x0e\x32K.luminary.proto.api.v0.luminarycloud.simulation.Simulation.SimulationStatus\x12\x0f\n\x07mesh_id\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x12\n\nproject_id\x18\x08 \x01(\t\"\xd2\x01\n\x10SimulationStatus\x12!\n\x1dSIMULATION_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19SIMULATION_STATUS_PENDING\x10\x01\x12\x1c\n\x18SIMULATION_STATUS_ACTIVE\x10\x02\x12\x1f\n\x1bSIMULATION_STATUS_COMPLETED\x10\x03\x12\x1c\n\x18SIMULATION_STATUS_FAILED\x10\x04\x12\x1f\n\x1bSIMULATION_STATUS_SUSPENDED\x10\x05\"\xe8\x01\n\x11SimulationOptions\x12\x18\n\x10\x62\x61tch_processing\x18\x01 \x01(\x08\x12[\n\x08gpu_type\x18\x08 \x01(\x0e\x32I.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions.GPUType\x12\x11\n\tgpu_count\x18\t \x01(\r\"I\n\x07GPUType\x12\x18\n\x14GPU_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rGPU_TYPE_V100\x10\x01\x12\x11\n\rGPU_TYPE_A100\x10\x02\"\xc9\x02\n\x17\x43reateSimulationRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07mesh_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x1e\n\x16simulation_template_id\x18\x04 \x01(\t\x12]\n\x12simulation_options\x18\x05 \x01(\x0b\x32\x41.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions\x12\x44\n\x10simulation_param\x18\x06 \x01(\x0b\x32&.luminary.proto.client.SimulationParamB\x02\x18\x01\x12!\n\x15simulation_param_json\x18\x07 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\"j\n\x18\x43reateSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"\"\n\x14GetSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"g\n\x15GetSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"k\n\x17UpdateSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"j\n\x18UpdateSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\",\n\x16ListSimulationsRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"j\n\x17ListSimulationsResponse\x12O\n\x0bsimulations\x18\x01 \x03(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"%\n\x17\x44\x65leteSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"&\n\x18SuspendSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xcf\x02\n#GetSimulationGlobalResidualsRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x89\x01\n\x16residual_normalization\x18\x03 \x01(\x0e\x32i.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsRequest.ResidualNormalization\"\x89\x01\n\x15ResidualNormalization\x12&\n\"RESIDUAL_NORMALIZATION_UNSPECIFIED\x10\x00\x12#\n\x1fRESIDUAL_NORMALIZATION_RELATIVE\x10\x01\x12#\n\x1fRESIDUAL_NORMALIZATION_ABSOLUTE\x10\x02J\x04\x08\x04\x10\x05\"j\n$GetSimulationGlobalResidualsResponse\x12\x42\n\x08\x63sv_file\x18\x01 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.File\"\xc7\x04\n)GetSimulationSurfaceQuantityOutputRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12S\n\rquantity_type\x18\x02 \x01(\x0e\x32<.luminary.proto.api.v0.luminarycloud.simulation.QuantityType\x12\x13\n\x0bsurface_ids\x18\x03 \x03(\t\x12Y\n\x10\x63\x61lculation_type\x18\x04 \x01(\x0e\x32?.luminary.proto.api.v0.luminarycloud.simulation.CalculationType\x12\x10\n\x08\x66rame_id\x18\x06 \x01(\t\x12L\n\x0f\x66orce_direction\x18\x11 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12J\n\rmoment_center\x18\x12 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12U\n\x0e\x61veraging_type\x18\x13 \x01(\x0e\x32=.luminary.proto.api.v0.luminarycloud.simulation.AveragingType\x12@\n\x10reference_values\x18\x14 \x01(\x0b\x32&.luminary.proto.output.ReferenceValuesJ\x04\x08\x05\x10\x06\"p\n*GetSimulationSurfaceQuantityOutputResponse\x12\x42\n\x08\x63sv_file\x18\x01 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.File\"J\n#GetSimulationSurfaceSolutionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttime_step\x18\x03 \x01(\rJ\x04\x08\x02\x10\x03\"l\n$GetSimulationSurfaceSolutionResponse\x12>\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.FileJ\x04\x08\x01\x10\x02\"I\n\"GetSimulationVolumeSolutionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttime_step\x18\x03 \x01(\rJ\x04\x08\x02\x10\x03\"k\n#GetSimulationVolumeSolutionResponse\x12>\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.FileJ\x04\x08\x01\x10\x02\",\n\x1eGetSimulationParametersRequest\x12\n\n\x02id\x18\x01 \x01(\t*\x9d\x0b\n\x0cQuantityType\x12\x1d\n\x19QUANTITY_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12QUANTITY_TYPE_LIFT\x10\x01\x12\x16\n\x12QUANTITY_TYPE_DRAG\x10\x02\x12\x1b\n\x17QUANTITY_TYPE_SIDEFORCE\x10\x03\x12 \n\x1cQUANTITY_TYPE_ROLLING_MOMENT\x10\x04\x12\x1f\n\x1bQUANTITY_TYPE_YAWING_MOMENT\x10\x05\x12!\n\x1dQUANTITY_TYPE_PITCHING_MOMENT\x10\x06\x12\x1d\n\x19QUANTITY_TYPE_TOTAL_FORCE\x10\x07\x12\x1b\n\x17QUANTITY_TYPE_DOWNFORCE\x10\x08\x12\x1d\n\x19QUANTITY_TYPE_DISK_THRUST\x10\t\x12 \n\x1cQUANTITY_TYPE_FRICTION_FORCE\x10\n\x12,\n(QUANTITY_TYPE_FRICTION_FORCE_COEFFICIENT\x10\x0b\x12 \n\x1cQUANTITY_TYPE_PRESSURE_FORCE\x10\x0c\x12,\n(QUANTITY_TYPE_PRESSURE_FORCE_COEFFICIENT\x10\r\x12\"\n\x1eQUANTITY_TYPE_LIFT_COEFFICIENT\x10\x0e\x12\"\n\x1eQUANTITY_TYPE_DRAG_COEFFICIENT\x10\x0f\x12)\n%QUANTITY_TYPE_TOTAL_FORCE_COEFFICIENT\x10\x10\x12\'\n#QUANTITY_TYPE_SIDEFORCE_COEFFICIENT\x10\x11\x12\'\n#QUANTITY_TYPE_DOWNFORCE_COEFFICIENT\x10\x12\x12\x1e\n\x1aQUANTITY_TYPE_TOTAL_MOMENT\x10\x13\x12\x1d\n\x19QUANTITY_TYPE_DISK_TORQUE\x10\x14\x12*\n&QUANTITY_TYPE_TOTAL_MOMENT_COEFFICIENT\x10\x15\x12,\n(QUANTITY_TYPE_ROLLING_MOMENT_COEFFICIENT\x10\x16\x12+\n\'QUANTITY_TYPE_YAWING_MOMENT_COEFFICIENT\x10\x17\x12-\n)QUANTITY_TYPE_PITCHING_MOMENT_COEFFICIENT\x10\x18\x12\x1a\n\x16QUANTITY_TYPE_PRESSURE\x10\x19\x12\x1d\n\x19QUANTITY_TYPE_TEMPERATURE\x10\x1b\x12\x19\n\x15QUANTITY_TYPE_DENSITY\x10\x1c\x12 \n\x1cQUANTITY_TYPE_TOTAL_PRESSURE\x10\x1d\x12#\n\x1fQUANTITY_TYPE_TOTAL_TEMPERATURE\x10\x1f\x12\x16\n\x12QUANTITY_TYPE_MACH\x10 \x12$\n QUANTITY_TYPE_VELOCITY_MAGNITUDE\x10!\x12\x18\n\x14QUANTITY_TYPE_Y_PLUS\x10\"\x12\x1d\n\x19QUANTITY_TYPE_ENERGY_FLUX\x10#\x12\x1c\n\x18QUANTITY_TYPE_VELOCITY_X\x10$\x12\x1c\n\x18QUANTITY_TYPE_VELOCITY_Y\x10%\x12\x1c\n\x18QUANTITY_TYPE_VELOCITY_Z\x10&\x12\x1f\n\x1bQUANTITY_TYPE_PRESSURE_DRAG\x10\'\x12+\n\'QUANTITY_TYPE_PRESSURE_DRAG_COEFFICIENT\x10(\x12\x1e\n\x1aQUANTITY_TYPE_VISCOUS_DRAG\x10)\x12*\n&QUANTITY_TYPE_VISCOUS_DRAG_COEFFICIENT\x10**u\n\x0f\x43\x61lculationType\x12 \n\x1c\x43\x41LCULATION_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43\x41LCULATION_TYPE_AGGREGATE\x10\x01\x12 \n\x1c\x43\x41LCULATION_TYPE_PER_SURFACE\x10\x02*f\n\rAveragingType\x12\x1e\n\x1a\x41VERAGING_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VERAGING_TYPE_MASS_FLOW\x10\x01\x12\x17\n\x13\x41VERAGING_TYPE_AREA\x10\x02\x32\xb2\x12\n\x11SimulationService\x12\xd7\x01\n\x10\x43reateSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.CreateSimulationRequest\x1aH.luminary.proto.api.v0.luminarycloud.simulation.CreateSimulationResponse\"0\x82\xd3\xe4\x93\x02*\"%/v0/projects/{project_id}/simulations:\x01*\x12\xba\x01\n\rGetSimulation\x12\x44.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationRequest\x1a\x45.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v0/simulations/{id}\x12\xc6\x01\n\x10UpdateSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.UpdateSimulationRequest\x1aH.luminary.proto.api.v0.luminarycloud.simulation.UpdateSimulationResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x32\x14/v0/simulations/{id}:\x01*\x12\xd1\x01\n\x0fListSimulations\x12\x46.luminary.proto.api.v0.luminarycloud.simulation.ListSimulationsRequest\x1aG.luminary.proto.api.v0.luminarycloud.simulation.ListSimulationsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/v0/projects/{project_id}/simulations\x12\x91\x01\n\x10\x44\x65leteSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.DeleteSimulationRequest\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16*\x14/v0/simulations/{id}\x12\x9b\x01\n\x11SuspendSimulation\x12H.luminary.proto.api.v0.luminarycloud.simulation.SuspendSimulationRequest\x1a\x16.google.protobuf.Empty\"$\x82\xd3\xe4\x93\x02\x1e\"\x1c/v0/simulations/{id}:suspend\x12\xf7\x01\n\x1cGetSimulationGlobalResiduals\x12S.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsRequest\x1aT.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsResponse\",\x82\xd3\xe4\x93\x02&\x12$/v0/simulations/{id}:globalresiduals\x12\x8f\x02\n\"GetSimulationSurfaceQuantityOutput\x12Y.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceQuantityOutputRequest\x1aZ.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceQuantityOutputResponse\"2\x82\xd3\xe4\x93\x02,\x12*/v0/simulations/{id}:surfacequantityoutput\x12\xf7\x01\n\x1cGetSimulationSurfaceSolution\x12S.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceSolutionRequest\x1aT.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceSolutionResponse\",\x82\xd3\xe4\x93\x02&\x12$/v0/simulations/{id}:surfacesolution\x12\xf3\x01\n\x1bGetSimulationVolumeSolution\x12R.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationVolumeSolutionRequest\x1aS.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationVolumeSolutionResponse\"+\x82\xd3\xe4\x93\x02%\x12#/v0/simulations/{id}:volumesolution\x12\xba\x01\n\x17GetSimulationParameters\x12N.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationParametersRequest\x1a&.luminary.proto.client.SimulationParam\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/v0/simulations/{id}/parametersB>Z<luminarycloud.com/core/proto/api/v0/luminarycloud/simulationb\x06proto3')
|
|
26
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6proto/api/v0/luminarycloud/simulation/simulation.proto\x12.luminary.proto.api.v0.luminarycloud.simulation\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x15proto/base/base.proto\x1a\x1dproto/quantity/quantity.proto\x1a#proto/output/reference_values.proto\x1a\x1dproto/client/simulation.proto\x1a.proto/api/v0/luminarycloud/common/common.proto\"\xf4\x03\n\nSimulation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x06status\x18\x05 \x01(\x0e\x32K.luminary.proto.api.v0.luminarycloud.simulation.Simulation.SimulationStatus\x12\x0f\n\x07mesh_id\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x12\n\nproject_id\x18\x08 \x01(\t\"\xd2\x01\n\x10SimulationStatus\x12!\n\x1dSIMULATION_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19SIMULATION_STATUS_PENDING\x10\x01\x12\x1c\n\x18SIMULATION_STATUS_ACTIVE\x10\x02\x12\x1f\n\x1bSIMULATION_STATUS_COMPLETED\x10\x03\x12\x1c\n\x18SIMULATION_STATUS_FAILED\x10\x04\x12\x1f\n\x1bSIMULATION_STATUS_SUSPENDED\x10\x05\"\xe8\x01\n\x11SimulationOptions\x12\x18\n\x10\x62\x61tch_processing\x18\x01 \x01(\x08\x12[\n\x08gpu_type\x18\x08 \x01(\x0e\x32I.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions.GPUType\x12\x11\n\tgpu_count\x18\t \x01(\r\"I\n\x07GPUType\x12\x18\n\x14GPU_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rGPU_TYPE_V100\x10\x01\x12\x11\n\rGPU_TYPE_A100\x10\x02\"\xc9\x02\n\x17\x43reateSimulationRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07mesh_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x1e\n\x16simulation_template_id\x18\x04 \x01(\t\x12]\n\x12simulation_options\x18\x05 \x01(\x0b\x32\x41.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions\x12\x44\n\x10simulation_param\x18\x06 \x01(\x0b\x32&.luminary.proto.client.SimulationParamB\x02\x18\x01\x12!\n\x15simulation_param_json\x18\x07 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\"j\n\x18\x43reateSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"\"\n\x14GetSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"g\n\x15GetSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"k\n\x17UpdateSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"j\n\x18UpdateSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\",\n\x16ListSimulationsRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"j\n\x17ListSimulationsResponse\x12O\n\x0bsimulations\x18\x01 \x03(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"%\n\x17\x44\x65leteSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"&\n\x18SuspendSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xcf\x02\n#GetSimulationGlobalResidualsRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x89\x01\n\x16residual_normalization\x18\x03 \x01(\x0e\x32i.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsRequest.ResidualNormalization\"\x89\x01\n\x15ResidualNormalization\x12&\n\"RESIDUAL_NORMALIZATION_UNSPECIFIED\x10\x00\x12#\n\x1fRESIDUAL_NORMALIZATION_RELATIVE\x10\x01\x12#\n\x1fRESIDUAL_NORMALIZATION_ABSOLUTE\x10\x02J\x04\x08\x04\x10\x05\"j\n$GetSimulationGlobalResidualsResponse\x12\x42\n\x08\x63sv_file\x18\x01 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.File\"\xf1\x04\n)GetSimulationSurfaceQuantityOutputRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12<\n\rquantity_type\x18\x02 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12\x13\n\x0bsurface_ids\x18\x03 \x03(\t\x12Y\n\x10\x63\x61lculation_type\x18\x04 \x01(\x0e\x32?.luminary.proto.api.v0.luminarycloud.simulation.CalculationType\x12\x10\n\x08\x66rame_id\x18\x06 \x01(\t\x12L\n\x0f\x66orce_direction\x18\x11 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12J\n\rmoment_center\x18\x12 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12U\n\x0e\x61veraging_type\x18\x13 \x01(\x0e\x32=.luminary.proto.api.v0.luminarycloud.simulation.AveragingType\x12@\n\x10reference_values\x18\x14 \x01(\x0b\x32&.luminary.proto.output.ReferenceValues\x12?\n\x10vector_component\x18\x15 \x01(\x0e\x32%.luminary.proto.base.Vector3ComponentJ\x04\x08\x05\x10\x06\"p\n*GetSimulationSurfaceQuantityOutputResponse\x12\x42\n\x08\x63sv_file\x18\x01 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.File\"J\n#GetSimulationSurfaceSolutionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttime_step\x18\x03 \x01(\rJ\x04\x08\x02\x10\x03\"l\n$GetSimulationSurfaceSolutionResponse\x12>\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.FileJ\x04\x08\x01\x10\x02\"I\n\"GetSimulationVolumeSolutionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttime_step\x18\x03 \x01(\rJ\x04\x08\x02\x10\x03\"k\n#GetSimulationVolumeSolutionResponse\x12>\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.FileJ\x04\x08\x01\x10\x02\",\n\x1eGetSimulationParametersRequest\x12\n\n\x02id\x18\x01 \x01(\t*u\n\x0f\x43\x61lculationType\x12 \n\x1c\x43\x41LCULATION_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43\x41LCULATION_TYPE_AGGREGATE\x10\x01\x12 \n\x1c\x43\x41LCULATION_TYPE_PER_SURFACE\x10\x02*f\n\rAveragingType\x12\x1e\n\x1a\x41VERAGING_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VERAGING_TYPE_MASS_FLOW\x10\x01\x12\x17\n\x13\x41VERAGING_TYPE_AREA\x10\x02\x32\xb2\x12\n\x11SimulationService\x12\xd7\x01\n\x10\x43reateSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.CreateSimulationRequest\x1aH.luminary.proto.api.v0.luminarycloud.simulation.CreateSimulationResponse\"0\x82\xd3\xe4\x93\x02*\"%/v0/projects/{project_id}/simulations:\x01*\x12\xba\x01\n\rGetSimulation\x12\x44.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationRequest\x1a\x45.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v0/simulations/{id}\x12\xc6\x01\n\x10UpdateSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.UpdateSimulationRequest\x1aH.luminary.proto.api.v0.luminarycloud.simulation.UpdateSimulationResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x32\x14/v0/simulations/{id}:\x01*\x12\xd1\x01\n\x0fListSimulations\x12\x46.luminary.proto.api.v0.luminarycloud.simulation.ListSimulationsRequest\x1aG.luminary.proto.api.v0.luminarycloud.simulation.ListSimulationsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/v0/projects/{project_id}/simulations\x12\x91\x01\n\x10\x44\x65leteSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.DeleteSimulationRequest\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16*\x14/v0/simulations/{id}\x12\x9b\x01\n\x11SuspendSimulation\x12H.luminary.proto.api.v0.luminarycloud.simulation.SuspendSimulationRequest\x1a\x16.google.protobuf.Empty\"$\x82\xd3\xe4\x93\x02\x1e\"\x1c/v0/simulations/{id}:suspend\x12\xf7\x01\n\x1cGetSimulationGlobalResiduals\x12S.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsRequest\x1aT.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsResponse\",\x82\xd3\xe4\x93\x02&\x12$/v0/simulations/{id}:globalresiduals\x12\x8f\x02\n\"GetSimulationSurfaceQuantityOutput\x12Y.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceQuantityOutputRequest\x1aZ.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceQuantityOutputResponse\"2\x82\xd3\xe4\x93\x02,\x12*/v0/simulations/{id}:surfacequantityoutput\x12\xf7\x01\n\x1cGetSimulationSurfaceSolution\x12S.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceSolutionRequest\x1aT.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceSolutionResponse\",\x82\xd3\xe4\x93\x02&\x12$/v0/simulations/{id}:surfacesolution\x12\xf3\x01\n\x1bGetSimulationVolumeSolution\x12R.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationVolumeSolutionRequest\x1aS.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationVolumeSolutionResponse\"+\x82\xd3\xe4\x93\x02%\x12#/v0/simulations/{id}:volumesolution\x12\xba\x01\n\x17GetSimulationParameters\x12N.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationParametersRequest\x1a&.luminary.proto.client.SimulationParam\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/v0/simulations/{id}/parametersB>Z<luminarycloud.com/core/proto/api/v0/luminarycloud/simulationb\x06proto3')
|
|
25
27
|
|
|
26
|
-
_QUANTITYTYPE = DESCRIPTOR.enum_types_by_name['QuantityType']
|
|
27
|
-
QuantityType = enum_type_wrapper.EnumTypeWrapper(_QUANTITYTYPE)
|
|
28
28
|
_CALCULATIONTYPE = DESCRIPTOR.enum_types_by_name['CalculationType']
|
|
29
29
|
CalculationType = enum_type_wrapper.EnumTypeWrapper(_CALCULATIONTYPE)
|
|
30
30
|
_AVERAGINGTYPE = DESCRIPTOR.enum_types_by_name['AveragingType']
|
|
31
31
|
AveragingType = enum_type_wrapper.EnumTypeWrapper(_AVERAGINGTYPE)
|
|
32
|
-
QUANTITY_TYPE_UNSPECIFIED = 0
|
|
33
|
-
QUANTITY_TYPE_LIFT = 1
|
|
34
|
-
QUANTITY_TYPE_DRAG = 2
|
|
35
|
-
QUANTITY_TYPE_SIDEFORCE = 3
|
|
36
|
-
QUANTITY_TYPE_ROLLING_MOMENT = 4
|
|
37
|
-
QUANTITY_TYPE_YAWING_MOMENT = 5
|
|
38
|
-
QUANTITY_TYPE_PITCHING_MOMENT = 6
|
|
39
|
-
QUANTITY_TYPE_TOTAL_FORCE = 7
|
|
40
|
-
QUANTITY_TYPE_DOWNFORCE = 8
|
|
41
|
-
QUANTITY_TYPE_DISK_THRUST = 9
|
|
42
|
-
QUANTITY_TYPE_FRICTION_FORCE = 10
|
|
43
|
-
QUANTITY_TYPE_FRICTION_FORCE_COEFFICIENT = 11
|
|
44
|
-
QUANTITY_TYPE_PRESSURE_FORCE = 12
|
|
45
|
-
QUANTITY_TYPE_PRESSURE_FORCE_COEFFICIENT = 13
|
|
46
|
-
QUANTITY_TYPE_LIFT_COEFFICIENT = 14
|
|
47
|
-
QUANTITY_TYPE_DRAG_COEFFICIENT = 15
|
|
48
|
-
QUANTITY_TYPE_TOTAL_FORCE_COEFFICIENT = 16
|
|
49
|
-
QUANTITY_TYPE_SIDEFORCE_COEFFICIENT = 17
|
|
50
|
-
QUANTITY_TYPE_DOWNFORCE_COEFFICIENT = 18
|
|
51
|
-
QUANTITY_TYPE_TOTAL_MOMENT = 19
|
|
52
|
-
QUANTITY_TYPE_DISK_TORQUE = 20
|
|
53
|
-
QUANTITY_TYPE_TOTAL_MOMENT_COEFFICIENT = 21
|
|
54
|
-
QUANTITY_TYPE_ROLLING_MOMENT_COEFFICIENT = 22
|
|
55
|
-
QUANTITY_TYPE_YAWING_MOMENT_COEFFICIENT = 23
|
|
56
|
-
QUANTITY_TYPE_PITCHING_MOMENT_COEFFICIENT = 24
|
|
57
|
-
QUANTITY_TYPE_PRESSURE = 25
|
|
58
|
-
QUANTITY_TYPE_TEMPERATURE = 27
|
|
59
|
-
QUANTITY_TYPE_DENSITY = 28
|
|
60
|
-
QUANTITY_TYPE_TOTAL_PRESSURE = 29
|
|
61
|
-
QUANTITY_TYPE_TOTAL_TEMPERATURE = 31
|
|
62
|
-
QUANTITY_TYPE_MACH = 32
|
|
63
|
-
QUANTITY_TYPE_VELOCITY_MAGNITUDE = 33
|
|
64
|
-
QUANTITY_TYPE_Y_PLUS = 34
|
|
65
|
-
QUANTITY_TYPE_ENERGY_FLUX = 35
|
|
66
|
-
QUANTITY_TYPE_VELOCITY_X = 36
|
|
67
|
-
QUANTITY_TYPE_VELOCITY_Y = 37
|
|
68
|
-
QUANTITY_TYPE_VELOCITY_Z = 38
|
|
69
|
-
QUANTITY_TYPE_PRESSURE_DRAG = 39
|
|
70
|
-
QUANTITY_TYPE_PRESSURE_DRAG_COEFFICIENT = 40
|
|
71
|
-
QUANTITY_TYPE_VISCOUS_DRAG = 41
|
|
72
|
-
QUANTITY_TYPE_VISCOUS_DRAG_COEFFICIENT = 42
|
|
73
32
|
CALCULATION_TYPE_UNSPECIFIED = 0
|
|
74
33
|
CALCULATION_TYPE_AGGREGATE = 1
|
|
75
34
|
CALCULATION_TYPE_PER_SURFACE = 2
|
|
@@ -280,60 +239,58 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
280
239
|
_SIMULATIONSERVICE.methods_by_name['GetSimulationVolumeSolution']._serialized_options = b'\202\323\344\223\002%\022#/v0/simulations/{id}:volumesolution'
|
|
281
240
|
_SIMULATIONSERVICE.methods_by_name['GetSimulationParameters']._options = None
|
|
282
241
|
_SIMULATIONSERVICE.methods_by_name['GetSimulationParameters']._serialized_options = b'\202\323\344\223\002!\022\037/v0/simulations/{id}/parameters'
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
_SIMULATIONSERVICE._serialized_start=5309
|
|
338
|
-
_SIMULATIONSERVICE._serialized_end=7663
|
|
242
|
+
_CALCULATIONTYPE._serialized_start=3741
|
|
243
|
+
_CALCULATIONTYPE._serialized_end=3858
|
|
244
|
+
_AVERAGINGTYPE._serialized_start=3860
|
|
245
|
+
_AVERAGINGTYPE._serialized_end=3962
|
|
246
|
+
_SIMULATION._serialized_start=369
|
|
247
|
+
_SIMULATION._serialized_end=869
|
|
248
|
+
_SIMULATION_SIMULATIONSTATUS._serialized_start=659
|
|
249
|
+
_SIMULATION_SIMULATIONSTATUS._serialized_end=869
|
|
250
|
+
_SIMULATIONOPTIONS._serialized_start=872
|
|
251
|
+
_SIMULATIONOPTIONS._serialized_end=1104
|
|
252
|
+
_SIMULATIONOPTIONS_GPUTYPE._serialized_start=1031
|
|
253
|
+
_SIMULATIONOPTIONS_GPUTYPE._serialized_end=1104
|
|
254
|
+
_CREATESIMULATIONREQUEST._serialized_start=1107
|
|
255
|
+
_CREATESIMULATIONREQUEST._serialized_end=1436
|
|
256
|
+
_CREATESIMULATIONRESPONSE._serialized_start=1438
|
|
257
|
+
_CREATESIMULATIONRESPONSE._serialized_end=1544
|
|
258
|
+
_GETSIMULATIONREQUEST._serialized_start=1546
|
|
259
|
+
_GETSIMULATIONREQUEST._serialized_end=1580
|
|
260
|
+
_GETSIMULATIONRESPONSE._serialized_start=1582
|
|
261
|
+
_GETSIMULATIONRESPONSE._serialized_end=1685
|
|
262
|
+
_UPDATESIMULATIONREQUEST._serialized_start=1687
|
|
263
|
+
_UPDATESIMULATIONREQUEST._serialized_end=1794
|
|
264
|
+
_UPDATESIMULATIONRESPONSE._serialized_start=1796
|
|
265
|
+
_UPDATESIMULATIONRESPONSE._serialized_end=1902
|
|
266
|
+
_LISTSIMULATIONSREQUEST._serialized_start=1904
|
|
267
|
+
_LISTSIMULATIONSREQUEST._serialized_end=1948
|
|
268
|
+
_LISTSIMULATIONSRESPONSE._serialized_start=1950
|
|
269
|
+
_LISTSIMULATIONSRESPONSE._serialized_end=2056
|
|
270
|
+
_DELETESIMULATIONREQUEST._serialized_start=2058
|
|
271
|
+
_DELETESIMULATIONREQUEST._serialized_end=2095
|
|
272
|
+
_SUSPENDSIMULATIONREQUEST._serialized_start=2097
|
|
273
|
+
_SUSPENDSIMULATIONREQUEST._serialized_end=2135
|
|
274
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST._serialized_start=2138
|
|
275
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST._serialized_end=2473
|
|
276
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST_RESIDUALNORMALIZATION._serialized_start=2330
|
|
277
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST_RESIDUALNORMALIZATION._serialized_end=2467
|
|
278
|
+
_GETSIMULATIONGLOBALRESIDUALSRESPONSE._serialized_start=2475
|
|
279
|
+
_GETSIMULATIONGLOBALRESIDUALSRESPONSE._serialized_end=2581
|
|
280
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTREQUEST._serialized_start=2584
|
|
281
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTREQUEST._serialized_end=3209
|
|
282
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTRESPONSE._serialized_start=3211
|
|
283
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTRESPONSE._serialized_end=3323
|
|
284
|
+
_GETSIMULATIONSURFACESOLUTIONREQUEST._serialized_start=3325
|
|
285
|
+
_GETSIMULATIONSURFACESOLUTIONREQUEST._serialized_end=3399
|
|
286
|
+
_GETSIMULATIONSURFACESOLUTIONRESPONSE._serialized_start=3401
|
|
287
|
+
_GETSIMULATIONSURFACESOLUTIONRESPONSE._serialized_end=3509
|
|
288
|
+
_GETSIMULATIONVOLUMESOLUTIONREQUEST._serialized_start=3511
|
|
289
|
+
_GETSIMULATIONVOLUMESOLUTIONREQUEST._serialized_end=3584
|
|
290
|
+
_GETSIMULATIONVOLUMESOLUTIONRESPONSE._serialized_start=3586
|
|
291
|
+
_GETSIMULATIONVOLUMESOLUTIONRESPONSE._serialized_end=3693
|
|
292
|
+
_GETSIMULATIONPARAMETERSREQUEST._serialized_start=3695
|
|
293
|
+
_GETSIMULATIONPARAMETERSREQUEST._serialized_end=3739
|
|
294
|
+
_SIMULATIONSERVICE._serialized_start=3965
|
|
295
|
+
_SIMULATIONSERVICE._serialized_end=6319
|
|
339
296
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -10,8 +10,10 @@ import google.protobuf.internal.enum_type_wrapper
|
|
|
10
10
|
import google.protobuf.message
|
|
11
11
|
import google.protobuf.timestamp_pb2
|
|
12
12
|
import luminarycloud._proto.api.v0.luminarycloud.common.common_pb2
|
|
13
|
+
import luminarycloud._proto.base.base_pb2
|
|
13
14
|
import luminarycloud._proto.client.simulation_pb2
|
|
14
15
|
import luminarycloud._proto.output.reference_values_pb2
|
|
16
|
+
import luminarycloud._proto.quantity.quantity_pb2
|
|
15
17
|
import sys
|
|
16
18
|
import typing
|
|
17
19
|
|
|
@@ -22,100 +24,6 @@ else:
|
|
|
22
24
|
|
|
23
25
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
24
26
|
|
|
25
|
-
class _QuantityType:
|
|
26
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
|
27
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
28
|
-
|
|
29
|
-
class _QuantityTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_QuantityType.ValueType], builtins.type): # noqa: F821
|
|
30
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
31
|
-
QUANTITY_TYPE_UNSPECIFIED: _QuantityType.ValueType # 0
|
|
32
|
-
QUANTITY_TYPE_LIFT: _QuantityType.ValueType # 1
|
|
33
|
-
QUANTITY_TYPE_DRAG: _QuantityType.ValueType # 2
|
|
34
|
-
QUANTITY_TYPE_SIDEFORCE: _QuantityType.ValueType # 3
|
|
35
|
-
QUANTITY_TYPE_ROLLING_MOMENT: _QuantityType.ValueType # 4
|
|
36
|
-
QUANTITY_TYPE_YAWING_MOMENT: _QuantityType.ValueType # 5
|
|
37
|
-
QUANTITY_TYPE_PITCHING_MOMENT: _QuantityType.ValueType # 6
|
|
38
|
-
QUANTITY_TYPE_TOTAL_FORCE: _QuantityType.ValueType # 7
|
|
39
|
-
QUANTITY_TYPE_DOWNFORCE: _QuantityType.ValueType # 8
|
|
40
|
-
QUANTITY_TYPE_DISK_THRUST: _QuantityType.ValueType # 9
|
|
41
|
-
QUANTITY_TYPE_FRICTION_FORCE: _QuantityType.ValueType # 10
|
|
42
|
-
QUANTITY_TYPE_FRICTION_FORCE_COEFFICIENT: _QuantityType.ValueType # 11
|
|
43
|
-
QUANTITY_TYPE_PRESSURE_FORCE: _QuantityType.ValueType # 12
|
|
44
|
-
QUANTITY_TYPE_PRESSURE_FORCE_COEFFICIENT: _QuantityType.ValueType # 13
|
|
45
|
-
QUANTITY_TYPE_LIFT_COEFFICIENT: _QuantityType.ValueType # 14
|
|
46
|
-
QUANTITY_TYPE_DRAG_COEFFICIENT: _QuantityType.ValueType # 15
|
|
47
|
-
QUANTITY_TYPE_TOTAL_FORCE_COEFFICIENT: _QuantityType.ValueType # 16
|
|
48
|
-
QUANTITY_TYPE_SIDEFORCE_COEFFICIENT: _QuantityType.ValueType # 17
|
|
49
|
-
QUANTITY_TYPE_DOWNFORCE_COEFFICIENT: _QuantityType.ValueType # 18
|
|
50
|
-
QUANTITY_TYPE_TOTAL_MOMENT: _QuantityType.ValueType # 19
|
|
51
|
-
QUANTITY_TYPE_DISK_TORQUE: _QuantityType.ValueType # 20
|
|
52
|
-
QUANTITY_TYPE_TOTAL_MOMENT_COEFFICIENT: _QuantityType.ValueType # 21
|
|
53
|
-
QUANTITY_TYPE_ROLLING_MOMENT_COEFFICIENT: _QuantityType.ValueType # 22
|
|
54
|
-
QUANTITY_TYPE_YAWING_MOMENT_COEFFICIENT: _QuantityType.ValueType # 23
|
|
55
|
-
QUANTITY_TYPE_PITCHING_MOMENT_COEFFICIENT: _QuantityType.ValueType # 24
|
|
56
|
-
QUANTITY_TYPE_PRESSURE: _QuantityType.ValueType # 25
|
|
57
|
-
QUANTITY_TYPE_TEMPERATURE: _QuantityType.ValueType # 27
|
|
58
|
-
QUANTITY_TYPE_DENSITY: _QuantityType.ValueType # 28
|
|
59
|
-
QUANTITY_TYPE_TOTAL_PRESSURE: _QuantityType.ValueType # 29
|
|
60
|
-
QUANTITY_TYPE_TOTAL_TEMPERATURE: _QuantityType.ValueType # 31
|
|
61
|
-
QUANTITY_TYPE_MACH: _QuantityType.ValueType # 32
|
|
62
|
-
QUANTITY_TYPE_VELOCITY_MAGNITUDE: _QuantityType.ValueType # 33
|
|
63
|
-
QUANTITY_TYPE_Y_PLUS: _QuantityType.ValueType # 34
|
|
64
|
-
QUANTITY_TYPE_ENERGY_FLUX: _QuantityType.ValueType # 35
|
|
65
|
-
QUANTITY_TYPE_VELOCITY_X: _QuantityType.ValueType # 36
|
|
66
|
-
QUANTITY_TYPE_VELOCITY_Y: _QuantityType.ValueType # 37
|
|
67
|
-
QUANTITY_TYPE_VELOCITY_Z: _QuantityType.ValueType # 38
|
|
68
|
-
QUANTITY_TYPE_PRESSURE_DRAG: _QuantityType.ValueType # 39
|
|
69
|
-
QUANTITY_TYPE_PRESSURE_DRAG_COEFFICIENT: _QuantityType.ValueType # 40
|
|
70
|
-
QUANTITY_TYPE_VISCOUS_DRAG: _QuantityType.ValueType # 41
|
|
71
|
-
QUANTITY_TYPE_VISCOUS_DRAG_COEFFICIENT: _QuantityType.ValueType # 42
|
|
72
|
-
|
|
73
|
-
class QuantityType(_QuantityType, metaclass=_QuantityTypeEnumTypeWrapper):
|
|
74
|
-
"""See `gen/quantities.py`."""
|
|
75
|
-
|
|
76
|
-
QUANTITY_TYPE_UNSPECIFIED: QuantityType.ValueType # 0
|
|
77
|
-
QUANTITY_TYPE_LIFT: QuantityType.ValueType # 1
|
|
78
|
-
QUANTITY_TYPE_DRAG: QuantityType.ValueType # 2
|
|
79
|
-
QUANTITY_TYPE_SIDEFORCE: QuantityType.ValueType # 3
|
|
80
|
-
QUANTITY_TYPE_ROLLING_MOMENT: QuantityType.ValueType # 4
|
|
81
|
-
QUANTITY_TYPE_YAWING_MOMENT: QuantityType.ValueType # 5
|
|
82
|
-
QUANTITY_TYPE_PITCHING_MOMENT: QuantityType.ValueType # 6
|
|
83
|
-
QUANTITY_TYPE_TOTAL_FORCE: QuantityType.ValueType # 7
|
|
84
|
-
QUANTITY_TYPE_DOWNFORCE: QuantityType.ValueType # 8
|
|
85
|
-
QUANTITY_TYPE_DISK_THRUST: QuantityType.ValueType # 9
|
|
86
|
-
QUANTITY_TYPE_FRICTION_FORCE: QuantityType.ValueType # 10
|
|
87
|
-
QUANTITY_TYPE_FRICTION_FORCE_COEFFICIENT: QuantityType.ValueType # 11
|
|
88
|
-
QUANTITY_TYPE_PRESSURE_FORCE: QuantityType.ValueType # 12
|
|
89
|
-
QUANTITY_TYPE_PRESSURE_FORCE_COEFFICIENT: QuantityType.ValueType # 13
|
|
90
|
-
QUANTITY_TYPE_LIFT_COEFFICIENT: QuantityType.ValueType # 14
|
|
91
|
-
QUANTITY_TYPE_DRAG_COEFFICIENT: QuantityType.ValueType # 15
|
|
92
|
-
QUANTITY_TYPE_TOTAL_FORCE_COEFFICIENT: QuantityType.ValueType # 16
|
|
93
|
-
QUANTITY_TYPE_SIDEFORCE_COEFFICIENT: QuantityType.ValueType # 17
|
|
94
|
-
QUANTITY_TYPE_DOWNFORCE_COEFFICIENT: QuantityType.ValueType # 18
|
|
95
|
-
QUANTITY_TYPE_TOTAL_MOMENT: QuantityType.ValueType # 19
|
|
96
|
-
QUANTITY_TYPE_DISK_TORQUE: QuantityType.ValueType # 20
|
|
97
|
-
QUANTITY_TYPE_TOTAL_MOMENT_COEFFICIENT: QuantityType.ValueType # 21
|
|
98
|
-
QUANTITY_TYPE_ROLLING_MOMENT_COEFFICIENT: QuantityType.ValueType # 22
|
|
99
|
-
QUANTITY_TYPE_YAWING_MOMENT_COEFFICIENT: QuantityType.ValueType # 23
|
|
100
|
-
QUANTITY_TYPE_PITCHING_MOMENT_COEFFICIENT: QuantityType.ValueType # 24
|
|
101
|
-
QUANTITY_TYPE_PRESSURE: QuantityType.ValueType # 25
|
|
102
|
-
QUANTITY_TYPE_TEMPERATURE: QuantityType.ValueType # 27
|
|
103
|
-
QUANTITY_TYPE_DENSITY: QuantityType.ValueType # 28
|
|
104
|
-
QUANTITY_TYPE_TOTAL_PRESSURE: QuantityType.ValueType # 29
|
|
105
|
-
QUANTITY_TYPE_TOTAL_TEMPERATURE: QuantityType.ValueType # 31
|
|
106
|
-
QUANTITY_TYPE_MACH: QuantityType.ValueType # 32
|
|
107
|
-
QUANTITY_TYPE_VELOCITY_MAGNITUDE: QuantityType.ValueType # 33
|
|
108
|
-
QUANTITY_TYPE_Y_PLUS: QuantityType.ValueType # 34
|
|
109
|
-
QUANTITY_TYPE_ENERGY_FLUX: QuantityType.ValueType # 35
|
|
110
|
-
QUANTITY_TYPE_VELOCITY_X: QuantityType.ValueType # 36
|
|
111
|
-
QUANTITY_TYPE_VELOCITY_Y: QuantityType.ValueType # 37
|
|
112
|
-
QUANTITY_TYPE_VELOCITY_Z: QuantityType.ValueType # 38
|
|
113
|
-
QUANTITY_TYPE_PRESSURE_DRAG: QuantityType.ValueType # 39
|
|
114
|
-
QUANTITY_TYPE_PRESSURE_DRAG_COEFFICIENT: QuantityType.ValueType # 40
|
|
115
|
-
QUANTITY_TYPE_VISCOUS_DRAG: QuantityType.ValueType # 41
|
|
116
|
-
QUANTITY_TYPE_VISCOUS_DRAG_COEFFICIENT: QuantityType.ValueType # 42
|
|
117
|
-
global___QuantityType = QuantityType
|
|
118
|
-
|
|
119
27
|
class _CalculationType:
|
|
120
28
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
121
29
|
V: typing_extensions.TypeAlias = ValueType
|
|
@@ -581,9 +489,10 @@ class GetSimulationSurfaceQuantityOutputRequest(google.protobuf.message.Message)
|
|
|
581
489
|
MOMENT_CENTER_FIELD_NUMBER: builtins.int
|
|
582
490
|
AVERAGING_TYPE_FIELD_NUMBER: builtins.int
|
|
583
491
|
REFERENCE_VALUES_FIELD_NUMBER: builtins.int
|
|
492
|
+
VECTOR_COMPONENT_FIELD_NUMBER: builtins.int
|
|
584
493
|
id: builtins.str
|
|
585
494
|
"""Required. The simulation id for which to get the surface quantity outputs."""
|
|
586
|
-
quantity_type:
|
|
495
|
+
quantity_type: luminarycloud._proto.quantity.quantity_pb2.QuantityType.ValueType
|
|
587
496
|
"""Required. Surface quantity type to return."""
|
|
588
497
|
@property
|
|
589
498
|
def surface_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
@@ -611,11 +520,13 @@ class GetSimulationSurfaceQuantityOutputRequest(google.protobuf.message.Message)
|
|
|
611
520
|
"""Optional. Reference values used for computing forces, moments and other
|
|
612
521
|
non-dimensional output quantities.
|
|
613
522
|
"""
|
|
523
|
+
vector_component: luminarycloud._proto.base.base_pb2.Vector3Component.ValueType
|
|
524
|
+
"""Optional. For 3-vector quantity types, e.g. Velocity, which vector component to return."""
|
|
614
525
|
def __init__(
|
|
615
526
|
self,
|
|
616
527
|
*,
|
|
617
528
|
id: builtins.str = ...,
|
|
618
|
-
quantity_type:
|
|
529
|
+
quantity_type: luminarycloud._proto.quantity.quantity_pb2.QuantityType.ValueType = ...,
|
|
619
530
|
surface_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
620
531
|
calculation_type: global___CalculationType.ValueType = ...,
|
|
621
532
|
frame_id: builtins.str = ...,
|
|
@@ -623,9 +534,10 @@ class GetSimulationSurfaceQuantityOutputRequest(google.protobuf.message.Message)
|
|
|
623
534
|
moment_center: luminarycloud._proto.api.v0.luminarycloud.common.common_pb2.Vector3 | None = ...,
|
|
624
535
|
averaging_type: global___AveragingType.ValueType = ...,
|
|
625
536
|
reference_values: luminarycloud._proto.output.reference_values_pb2.ReferenceValues | None = ...,
|
|
537
|
+
vector_component: luminarycloud._proto.base.base_pb2.Vector3Component.ValueType = ...,
|
|
626
538
|
) -> None: ...
|
|
627
539
|
def HasField(self, field_name: typing_extensions.Literal["force_direction", b"force_direction", "moment_center", b"moment_center", "reference_values", b"reference_values"]) -> builtins.bool: ...
|
|
628
|
-
def ClearField(self, field_name: typing_extensions.Literal["averaging_type", b"averaging_type", "calculation_type", b"calculation_type", "force_direction", b"force_direction", "frame_id", b"frame_id", "id", b"id", "moment_center", b"moment_center", "quantity_type", b"quantity_type", "reference_values", b"reference_values", "surface_ids", b"surface_ids"]) -> None: ...
|
|
540
|
+
def ClearField(self, field_name: typing_extensions.Literal["averaging_type", b"averaging_type", "calculation_type", b"calculation_type", "force_direction", b"force_direction", "frame_id", b"frame_id", "id", b"id", "moment_center", b"moment_center", "quantity_type", b"quantity_type", "reference_values", b"reference_values", "surface_ids", b"surface_ids", "vector_component", b"vector_component"]) -> None: ...
|
|
629
541
|
|
|
630
542
|
global___GetSimulationSurfaceQuantityOutputRequest = GetSimulationSurfaceQuantityOutputRequest
|
|
631
543
|
|