From 5ef8c9ed6f0dbd698dd31af82edf5dae92d3c186 Mon Sep 17 00:00:00 2001 From: Thomas Lambert <t.lambert@uliege.be> Date: Tue, 6 Sep 2022 11:11:22 +0200 Subject: [PATCH] refact(Polar): make all properties SetAccess private --- +af_tools/@Polar/Polar.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/+af_tools/@Polar/Polar.m b/+af_tools/@Polar/Polar.m index 0bb533c..8f47b38 100644 --- a/+af_tools/@Polar/Polar.m +++ b/+af_tools/@Polar/Polar.m @@ -68,7 +68,7 @@ classdef Polar % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- - properties + properties (SetAccess = private) reynolds (1, :) double {mustBeNonnegative} % Rynolds number, [-] mach (1, :) double {mustBeNonnegative} % Mach number, [-] nCrit (1, :) double {mustBeNonnegative} % nCrit number, [-] @@ -76,9 +76,7 @@ classdef Polar cl (:, :) double {mustBeReal} % Lift coefficient, [-] cd (:, :) double {mustBeReal} % Drag coefficient, [-] cm (:, :) double {mustBeReal} % Moment coefficient, [-] - end - properties (SetAccess = private) Ext = struct('aoa', [], 'cl', [], 'cd', [], 'cm', []) % Extended polar data Stall = struct('aoa', [], 'cl', [], 'cd', []) % Stall point data Zero = struct('aoa', [], 'cd', []) % Zero-lift point data -- GitLab