Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UniformLoad1D"/> class.
 /// </summary>
 /// <param name="magnitude">The magnitude of load.</param>
 /// <param name="direction">The direction of load.</param>
 /// <param name="sys">The coordination system type.</param>
 /// <param name="cse">The load case.</param>
 public UniformLoad1D(double magnitude, LoadDirection direction, CoordinationSystem sys, LoadCase cse)
 {
     this.magnitude          = magnitude;
     this.coordinationSystem = sys;
     this.direction          = direction;
     this.Case = cse;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConcentratedLoad1D" /> class.
 /// </summary>
 /// <param name="force">The force.</param>
 /// <param name="distanseFromStartNode">The distance from start node.</param>
 /// <param name="coordinationSystem">The coordination system.</param>
 /// <param name="cse">The load case.</param>
 public ConcentratedLoad1D(Force force, double distanseFromStartNode, CoordinationSystem coordinationSystem, LoadCase cse)
 {
     this.force = force;
     this.distanseFromStartNode = distanseFromStartNode;
     this.coordinationSystem    = coordinationSystem;
     this.Case = cse;
 }
Ejemplo n.º 3
0
 protected PartialNonUniformLoad(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _coordinationSystem = (CoordinationSystem)(int)info.GetValue("_coordinationSystem", typeof(int));
     _startLocation      = (IsoPoint)info.GetValue("_startLocation", typeof(IsoPoint));
     _endLocation        = (IsoPoint)info.GetValue("_endLocation", typeof(IsoPoint));
     _direction          = (Vector)info.GetValue("_direction", typeof(Vector));
     _severityFunction   = (Mathh.Polynomial)info.GetValue("_direction", typeof(Mathh.Polynomial));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Load1D"/> class.
 /// </summary>
 /// <param name="info">The information.</param>
 /// <param name="context">The context.</param>
 /// <exception cref="System.NotImplementedException"></exception>
 internal Load1D(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     this.direction          = (LoadDirection)info.GetInt32("direction");
     this.coordinationSystem = (CoordinationSystem)info.GetInt32("coordinationSystem");
 }
Ejemplo n.º 5
0
 protected UniformLoad(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _direction          = (Vector)info.GetValue("_direction", typeof(Vector));
     _magnitude          = (double)info.GetValue("_magnitude", typeof(double));
     _coordinationSystem = (CoordinationSystem)(int)info.GetValue("_coordinationSystem", typeof(int));
 }
Ejemplo n.º 6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="case"></param>
 /// <param name="direction">the direction of load</param>
 /// <param name="magnitude">magnitude of load</param>
 /// <param name="coordinationSystem">e coordination system that <see cref="Direction"/> is defined in</param>
 public UniformLoad(LoadCase @case, Vector direction, double magnitude, CoordinationSystem coordinationSystem) : base(@case)
 {
     _direction          = direction;
     _magnitude          = magnitude;
     _coordinationSystem = coordinationSystem;
 }
Ejemplo n.º 7
0
 protected ConcentratedLoad(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _forceIsoLocation   = (double[])info.GetValue("_forceIsoLocation", typeof(Vector));
     _force              = (Force)info.GetValue("_force", typeof(double));
     _coordinationSystem = (CoordinationSystem)(int)info.GetValue("_coordinationSystem", typeof(double));
 }
 public ConcentratedLoad(Force force, IsoPoint forceIsoLocation, CoordinationSystem coordinationSystem)
 {
     Force              = force;
     ForceIsoLocation   = forceIsoLocation;
     CoordinationSystem = coordinationSystem;
 }