Force combination was added
This commit is contained in:
@@ -16,7 +16,7 @@ namespace StructureHelperLogics.Models.Calculations.CalculationProperties
|
||||
{
|
||||
new ForceCombination()
|
||||
};
|
||||
LimitState = LimitStates.Collapse;
|
||||
LimitState = LimitStates.ULS;
|
||||
CalcTerm = CalcTerms.ShortTerm;
|
||||
IterationProperty = new IterationProperty() { Accuracy = 0.001d, MaxIterationCount = 100};
|
||||
}
|
||||
|
||||
@@ -68,8 +68,8 @@ namespace StructureHelperLogics.Models.Materials
|
||||
materialOptions.CodesType = LCMB.CodesType.SP63_2018;
|
||||
}
|
||||
else { throw new StructureHelperException($"{ErrorStrings.ObjectTypeIsUnknown} : {codeType}"); }
|
||||
if (limitState == LimitStates.Collapse) { materialOptions.LimitState = LCMB.LimitStates.Collapse; }
|
||||
else if (limitState == LimitStates.ServiceAbility) { materialOptions.LimitState = LCMB.LimitStates.ServiceAbility; }
|
||||
if (limitState == LimitStates.ULS) { materialOptions.LimitState = LCMB.LimitStates.Collapse; }
|
||||
else if (limitState == LimitStates.SLS) { materialOptions.LimitState = LCMB.LimitStates.ServiceAbility; }
|
||||
else if (limitState == LimitStates.Special) { materialOptions.LimitState = LCMB.LimitStates.Special; }
|
||||
else { throw new StructureHelperException(ErrorStrings.LimitStatesIsNotValid); }
|
||||
if (calcTerm == CalcTerms.ShortTerm) { materialOptions.IsShortTerm = true; }
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace StructureHelperLogics.Models.Primitives
|
||||
public interface IPrimitive : ISaveable, ICloneable
|
||||
{
|
||||
string Name { get; set; }
|
||||
ICenter Center { get; }
|
||||
IPoint2D Center { get; }
|
||||
IShape Shape { get; }
|
||||
|
||||
IEnumerable<INdmPrimitive> GetNdmPrimitives();
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace StructureHelperLogics.Models.Primitives
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public ICenter Center { get; set; }
|
||||
public IPoint2D Center { get; set; }
|
||||
public IShape Shape { get; }
|
||||
|
||||
public LinePrimitive()
|
||||
|
||||
Reference in New Issue
Block a user