diff --git a/BearImpOptions.m b/BearImpOptions.m index 2d0ef6130c2fd9495269b21a43487f05032f6b77..57bb705d9718b53405ded9d3b8c7625ac7665774 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)