|
pyNastran
0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
|
Functions | |
| def | polarToRealImag |
| Converts magnitude-phase to real-imaginary so all complex results are consistent. | |
| def | realImagToMagPhase |
| returns the magnitude and phase (degrees) of a complex number | |
| def pyNastran.op2.op2_helper.polarToRealImag | ( | mag, | |
| phase | |||
| ) |
Converts magnitude-phase to real-imaginary so all complex results are consistent.
| mag | magnitude c^2 |
| phase | phase angle phi (degrees; theta) |
| realValue | the real component a of a+bi |
| imagValue | the imaginary component b of a+bi |
Definition at line 41 of file op2_helper.py.
References realImagToMagPhase().
Referenced by pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_Beam_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_Bend_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_CBar_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_CBush_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_CVisc_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_Force_VU_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_Force_VUTRIA_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_PentaPressure_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_Plate2_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_Plate_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_Rod_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_Shear_alt(), pyNastran.op2.tables.oef_forces.complexForces.ComplexForces.OEF_Spring_alt(), pyNastran.op2.tables.oes_stressStrain.complex.elementsStressStrain.ComplexElementsStressStrain.OES_CBAR_34_alt(), pyNastran.op2.tables.oes_stressStrain.complex.elementsStressStrain.ComplexElementsStressStrain.OES_CQUAD4_144_alt(), pyNastran.op2.tables.oes_stressStrain.complex.elementsStressStrain.ComplexElementsStressStrain.OES_CQUAD4_33_alt(), pyNastran.op2.tables.oes_stressStrain.complex.elementsStressStrain.ComplexElementsStressStrain.OES_CTRIA3_74_alt(), pyNastran.op2.tables.oes_stressStrain.complex.elementsStressStrain.ComplexElementsStressStrain.OES_Elas1_alt(), pyNastran.op2.tables.oug.oug.OUG.OUG_ComplexTable(), and pyNastran.op2.tables.ogf_gridPointForces.ogf.OGF.readOGF_numWide16().
| def pyNastran.op2.op2_helper.realImagToMagPhase | ( | realImag | ) |
returns the magnitude and phase (degrees) of a complex number
Definition at line 49 of file op2_helper.py.
Referenced by polarToRealImag().