AnalysisViewModal and StrainTuple was added
This commit is contained in:
39
StructureHelperCommon/Models/Forces/Strains/IStrainTuple.cs
Normal file
39
StructureHelperCommon/Models/Forces/Strains/IStrainTuple.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Models.Forces
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for generic curvature for beams
|
||||
/// </summary>
|
||||
public interface IStrainTuple : ICloneable
|
||||
{
|
||||
/// <summary>
|
||||
/// Curvature about x-axis
|
||||
/// </summary>
|
||||
double Kx { get; set; }
|
||||
/// <summary>
|
||||
/// Curvature about y-axis
|
||||
/// </summary>
|
||||
double Ky { get; set; }
|
||||
/// <summary>
|
||||
/// Strain along z-axis
|
||||
/// </summary>
|
||||
double EpsZ { get; set; }
|
||||
/// <summary>
|
||||
/// Screw along x-axis
|
||||
/// </summary>
|
||||
double Gx { get; set; }
|
||||
/// <summary>
|
||||
/// Screw along y-axis
|
||||
/// </summary>
|
||||
double Gy { get; set; }
|
||||
/// <summary>
|
||||
/// Twisting about z-axis
|
||||
/// </summary>
|
||||
double Gz { get; set; }
|
||||
}
|
||||
}
|
||||
34
StructureHelperCommon/Models/Forces/Strains/StrainTuple.cs
Normal file
34
StructureHelperCommon/Models/Forces/Strains/StrainTuple.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using StructureHelperCommon.Services.Forces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Models.Forces
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public class StrainTuple : IStrainTuple
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public double Kx { get; set; }
|
||||
/// <inheritdoc/>
|
||||
public double Ky { get; set; }
|
||||
/// <inheritdoc/>
|
||||
public double EpsZ { get; set; }
|
||||
/// <inheritdoc/>
|
||||
public double Gx { get; set; }
|
||||
/// <inheritdoc/>
|
||||
public double Gy { get; set; }
|
||||
/// <inheritdoc/>
|
||||
public double Gz { get; set; }
|
||||
|
||||
/// <inheritdoc/>
|
||||
public object Clone()
|
||||
{
|
||||
var target = new StrainTuple();
|
||||
StrainTupleService.CopyProperties(this, target);
|
||||
return target;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user