From 03affa6a05184b5b0d44f54229f67f6c8402a98d Mon Sep 17 00:00:00 2001 From: Peter Krull Date: Thu, 27 Oct 2022 16:09:32 -0600 Subject: [PATCH] Add flag to indicate if random seed is used --- .gitignore | 2 ++ ansys/api/additive/VERSION | 2 +- ansys/api/additive/v0/additive_simulation.proto | 5 +++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2227357..f11e21a 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,8 @@ share/python-wheels/ .installed.cfg *.egg MANIFEST +.venv/ +venv/ # emacs temp files *~ diff --git a/ansys/api/additive/VERSION b/ansys/api/additive/VERSION index 6c6aa7c..6da28dd 100644 --- a/ansys/api/additive/VERSION +++ b/ansys/api/additive/VERSION @@ -1 +1 @@ -0.1.0 \ No newline at end of file +0.1.1 \ No newline at end of file diff --git a/ansys/api/additive/v0/additive_simulation.proto b/ansys/api/additive/v0/additive_simulation.proto index 3e994c5..fb83b59 100644 --- a/ansys/api/additive/v0/additive_simulation.proto +++ b/ansys/api/additive/v0/additive_simulation.proto @@ -65,6 +65,7 @@ message SimulateMicrostructureRequest { double thermal_gradient = 21; // K/m double melt_pool_width = 22; double melt_pool_depth = 23; - // use HasRandomSeed method to determine if the user provided a seed - uint32 random_seed = 24; + // indicates that random_seed has been provided by the user + bool use_random_seed = 24; + uint32 random_seed = 25; }