From 88fab141f7e0913951114eef398d62de1f23fbc0 Mon Sep 17 00:00:00 2001
From: sp89hili <sp89hili@pmd196.csi.tu-darmstadt.de>
Date: Tue, 11 Feb 2025 10:41:23 +0100
Subject: [PATCH] Pu_add new options to optionID

---
 BearImpOptions.m | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/BearImpOptions.m b/BearImpOptions.m
index 2d0ef61..57bb705 100644
--- a/BearImpOptions.m
+++ b/BearImpOptions.m
@@ -129,13 +129,15 @@ classdef BearImpOptions < handle & dynamicprops & matlab.mixin.CustomDisplay & m
         function str = getOptionID(obj)
             % Gerates an abbreviated string according to the options chosen
             str = ['T' lower(obj.T.char(1)) '_B' lower(obj.B.char(1)) '_H' lower(obj.H.filmThicknessFormula.char(1)) ];
-            if obj.H.thermalCorrection    == 'on', str = [str 't']; end
-            if obj.H.starvationCorrection == 'on', str = [str 's']; end
-            if obj.H.roughnessCorrection  == 'on', str = [str 'r']; end
+            if obj.H.thermalCorrection    == 'on'    , str = [str 't']; end
+            if obj.H.starvationCorrection == 'on'    , str = [str 's']; end
+            if obj.H.roughnessCorrection  == 'on'    , str = [str 'r']; end
             str = [str '_C' lower(obj.C.outsideArea.char(1:2))];
-            if obj.C.k_vh_factor          == 'on' , str = [str 'k']; end
-            if obj.C.pressureDistribution == 'on' , str = [str 'p']; end
-            if obj.C.roughnessCorrection  ~= 'off', str = [str 'r']; end
+            if obj.C.k_vh_factor          == 'on'    , str = [str 'k']; end
+            if obj.C.pressureDistribution == 'on'    , str = [str 'p']; end
+            if obj.C.roughnessCorrection  ~= 'off'   , str = [str 'r']; end
+            if obj.C.deformedArea == 'filmThickness' , str = [str 'h']; end
+            if obj.C.r2smallCriterion == 'r<h_0+R_RE', str = [str 'a']; end
             str = [str lower(obj.C.rhoRatio.char(1))];
         end
         function charOut = char(obj,n)
-- 
GitLab