void GetEIF____00_36_UV(CMLoad_36 Load, float fL, out float fA, out float fB, out float fMa, out float fMb) { // Temporary fA = 0.0f; fB = 0.0f; fMa = 0.0f; fMb = 0.0f; }
void GetEIF_0__0__36_UV(CMLoad_36 Load, float fL, out float fA, out float fB, out float fMa, out float fMb) { float fb = fL - Load.Fa; fA = (Load.Fq * Load.Fs / (4f * MathF.Pow3(fL))) * (2f * MathF.Pow2(fb) * (2f * fL + Load.Fa) + Load.Fa * MathF.Pow2(Load.Fs)); fB = (Load.Fq * Load.Fs * Load.Fa / (4f * MathF.Pow3(fL))) * (4f * Load.Fa * fL + 2f * MathF.Pow2(fb) * (3f * fL + Load.Fa) - MathF.Pow2(Load.Fs)); fMa = fMb = 0f; }
void GetMLoadPart_36(CMLoad_36 Load, CE_1D_BASE Member, FEM_CALC_BASE.Enums.EElemSuppType2D eMType, out float fA, out float fB, out float fMa, out float fMb) { switch (eMType) { case Enums.EElemSuppType2D.eEl_00_00: // Both Side restrained { GetEIF_00_00_36_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb); return; } case Enums.EElemSuppType2D.eEl_00_0_: { GetEIF_00_0__36_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb); return; } case Enums.EElemSuppType2D.eEl_0__00: { GetEIF_0__00_36_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb); return; } case Enums.EElemSuppType2D.eEl_0__0_: { GetEIF_0__0__36_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb); return; } case Enums.EElemSuppType2D.eEl_00___: { GetEIF_0__00_36_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb); return; } case Enums.EElemSuppType2D.eEl____00: { GetEIF_0__0__36_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb); return; } default: { // Exception fA = fB = fMa = fMb = 0.0f; return; } } }
void GetEIF_00_00_36_UV(CMLoad_36 Load, float fL, out float fA, out float fB, out float fMa, out float fMb) { float fb = fL - Load.Fa; fA = (Load.Fq * Load.Fs / (2f * MathF.Pow3(fL))) * (2f * MathF.Pow2(fb) * (fL + 2f * Load.Fa) + MathF.Pow2(Load.Fs) * (Load.Fa - fb)); fB = (Load.Fq * Load.Fs / (2f * MathF.Pow3(fL))) * (2f * MathF.Pow2(Load.Fa) * (fL + 2f * fb) + MathF.Pow2(Load.Fs) * (fb - Load.Fa)); fMa = -(Load.Fq * Load.Fs / (6f * MathF.Pow2(fL))) * (6f * Load.Fa * MathF.Pow2(fb) + MathF.Pow2(Load.Fs) * (Load.Fa - 2f * fb)); fMb = (Load.Fq * Load.Fs / (6f * MathF.Pow2(fL))) * (6f * MathF.Pow2(Load.Fa) * fb + MathF.Pow2(Load.Fs) * (fb - 2f * Load.Fa)); }
void GetMLoadPart_36(CMLoad_36 Load, CE_1D_BASE Member, FEM_CALC_BASE.Enums.EElemSuppType2D eMType, out float fA, out float fB) { // Temporary fA = fB = 0.0f; }