Skip to content

Commit

Permalink
♻️ return FiniteElement
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco-Pellegrino committed Feb 1, 2023
1 parent e4a87e5 commit d34b67e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FemDesign.Grasshopper/Model/ModelReadResults.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ protected override void SolveInstance(IGH_DataAccess DA)
if (hasFiniteElent)
{
fdFeaModel = new FemDesign.Results.FDfea(feaNodeRes, feaBarRes, feaShellRes);
resultsTree.Add(fdFeaModel);
resultsTree.Add(fdFeaModel, new GH_Path(i));
}

DA.SetDataTree(0, resultsTree);
Expand Down
2 changes: 1 addition & 1 deletion FemDesign.Grasshopper/Results/ResultsType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public ResultsType()


var values = new List<string>
{ "NodalDisplacement", "PointSupportReaction", "PointSupportReactionMinMax", "BarDisplacement", "BarInternalForce", "BarStress", "LineSupportReaction", "LineConnectionResultant", "LineConnectionForce", "SurfaceSupportReaction","ShellDisplacement", "ShellInternalForce", "ShellStress", "CLTShellUtilization", "CLTFireUtilization", "LabelledSectionInternalForce","LabelledSectionResultant","NodalVibrationShape", "EigenFrequencies", "QuantityEstimationConcrete", "QuantityEstimationSteel", "QuantityEstimationTimber", "QuantityEstimationTimberPanel", "QuantityEstimationGeneral", "QuantityEstimationReinforcement"};
{ "NodalDisplacement", "PointSupportReaction", "PointSupportReactionMinMax", "BarDisplacement", "BarInternalForce", "BarStress", "LineSupportReaction", "LineConnectionResultant", "LineConnectionForce", "SurfaceSupportReaction","ShellDisplacement", "ShellInternalForce", "ShellStress", "CLTShellUtilization", "CLTFireUtilization", "LabelledSectionInternalForce","LabelledSectionResultant","NodalVibrationShape", "EigenFrequencies", "QuantityEstimationConcrete", "QuantityEstimationSteel", "QuantityEstimationTimber", "QuantityEstimationTimberPanel", "QuantityEstimationGeneral", "QuantityEstimationReinforcement", "FiniteElement"};

GH_ValueListItem vi;
foreach (string value in values)
Expand Down

0 comments on commit d34b67e

Please sign in to comment.