From d6154bf911f2b9c391de6a2ae70ae87004e4cf78 Mon Sep 17 00:00:00 2001 From: DominikaLos Date: Thu, 5 Oct 2023 10:45:28 +0200 Subject: [PATCH] gsagh-366 fix --- ...{GsaNodeDisplacement.cs => GsaNodeDisplacements.cs} | 2 +- GsaGH/Parameters/5_Results/GsaResult.cs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) rename GsaGH/Parameters/5_Results/{GsaNodeDisplacement.cs => GsaNodeDisplacements.cs} (91%) diff --git a/GsaGH/Parameters/5_Results/GsaNodeDisplacement.cs b/GsaGH/Parameters/5_Results/GsaNodeDisplacements.cs similarity index 91% rename from GsaGH/Parameters/5_Results/GsaNodeDisplacement.cs rename to GsaGH/Parameters/5_Results/GsaNodeDisplacements.cs index d33ab62d0..d2d40160b 100644 --- a/GsaGH/Parameters/5_Results/GsaNodeDisplacement.cs +++ b/GsaGH/Parameters/5_Results/GsaNodeDisplacements.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; namespace GsaGH.Parameters { - public class GsaNodeDisplacement { + public class GsaNodeDisplacements { internal Dictionary ACaseResultValues { get; private set; } = new Dictionary(); diff --git a/GsaGH/Parameters/5_Results/GsaResult.cs b/GsaGH/Parameters/5_Results/GsaResult.cs index 413c678d9..a4a833b45 100644 --- a/GsaGH/Parameters/5_Results/GsaResult.cs +++ b/GsaGH/Parameters/5_Results/GsaResult.cs @@ -139,8 +139,8 @@ internal Dictionary> /// Append to this dictionary to chache results /// key = elementList /// - internal GsaNodeDisplacement ACaseNodeDisplacementValues { get; set; } - = new GsaNodeDisplacement(); + internal GsaNodeDisplacements AnalysisCaseNodeDisplacements { get; set; } + = new GsaNodeDisplacements(); /// /// Analysis Case Node Footfall Result VALUES Dictionary /// Append to this dictionary to chache results @@ -931,17 +931,17 @@ internal Tuple, List> NodeDisplacementValues( } if (Type == CaseType.AnalysisCase) { - if (!ACaseNodeDisplacementValues.ACaseResultValues.ContainsKey(nodelist)) { + if (!AnalysisCaseNodeDisplacements.ACaseResultValues.ContainsKey(nodelist)) { if (!ACaseNodeResults.ContainsKey(nodelist)) { ACaseNodeResults.Add(nodelist, AnalysisCaseResult.NodeResults(nodelist)); } - ACaseNodeDisplacementValues.AddAnalysisCaseValue(nodelist, + AnalysisCaseNodeDisplacements.AddAnalysisCaseValue(nodelist, ResultHelper.GetNodeResultValues(ACaseNodeResults[nodelist], lengthUnit)); } return new Tuple, List>(new List { - ACaseNodeDisplacementValues.ACaseResultValues[nodelist], + AnalysisCaseNodeDisplacements.ACaseResultValues[nodelist], }, Model.Model.Nodes(nodelist).Keys.ToList()); }