using System; using GP = Science.Physics.GeneralPhysics; namespace ScienceTest.PhysicsTest.GeneralPhysicsTest { /// /// PlaneWaveTest /// public class PlaneElectromagneticWaveTest { private string result; public string Result { get{return result;} } public PlaneElectromagneticWaveTest() { } public void Compute() { GP.PlaneElectromagneticWave p = new GP.PlaneElectromagneticWave(); p.ElectricFieldMaximum = 10.0; GP.Position x = new GP.Position(); x.X = 1.0; x.Y = 2.0; x.Z = 3.0; GP.Time t = new GP.Time(); t.s = 4.0; p.Set(x,t); result += p.B.ToString() + "\r\n"; } } } // 0 +/- 0 i +0 +/- 0 j +3.33564095198152E-08 +/- 0 k (T)