private static RelocateConcentratedLoads ( AssignedLoads newLineLoads, |
||
newLineLoads | AssignedLoads | The AssignedLoads object of the new Line Element |
lc | The Load Case to which the load belongs. | |
x | float | The dividing point of the two line elements [0, 1] |
load | The Load to distribute in two elements | |
return | bool |
private static bool RelocateConcentratedLoads(AssignedLoads newLineLoads, LoadCase lc, float x, ConcentratedSpanLoad load)
{
if (x > load.D)
{
load.D = load.D / x;
return false;
}
else
{
load = (ConcentratedSpanLoad)load.Clone();
load.Id = 0;
load.D = (load.D - x) / (1f - x);
newLineLoads.Add(load, lc);
return true;
}
}