Search in sources :

Example 41 with Well19937a

use of org.hipparchus.random.Well19937a in project Orekit by CS-SI.

the class NRLMSISE00Test method testGlob7sSwitchesOff.

@Test
public void testGlob7sSwitchesOff() throws OrekitException {
    RandomGenerator random = new Well19937a(0x141f7aa933299a83l);
    NRLMSISE00 atm = new NRLMSISE00(null, null, null);
    for (int i = 1; i <= 23; ++i) {
        atm = atm.withSwitch(i, 0);
    }
    doTestDoubleMethod(atm, random, "glob7s", 1.0e-50, 1.0e-50);
}
Also used : Well19937a(org.hipparchus.random.Well19937a) RandomGenerator(org.hipparchus.random.RandomGenerator) GeodeticPoint(org.orekit.bodies.GeodeticPoint) Test(org.junit.Test)

Example 42 with Well19937a

use of org.hipparchus.random.Well19937a in project Orekit by CS-SI.

the class NRLMSISE00Test method testGlobe7SwitchesRandom.

@Test
public void testGlobe7SwitchesRandom() throws OrekitException {
    RandomGenerator random = new Well19937a(0xe20a69235cc9583dl);
    NRLMSISE00 atm = new NRLMSISE00(null, null, null);
    for (int i = 1; i <= 23; ++i) {
        atm = atm.withSwitch(i, random.nextInt(3) - 2);
    }
    doTestDoubleMethod(atm, random, "globe7", 3.0e-14, 4.0e-16);
}
Also used : Well19937a(org.hipparchus.random.Well19937a) RandomGenerator(org.hipparchus.random.RandomGenerator) GeodeticPoint(org.orekit.bodies.GeodeticPoint) Test(org.junit.Test)

Example 43 with Well19937a

use of org.hipparchus.random.Well19937a in project Orekit by CS-SI.

the class NRLMSISE00Test method testgts7SwitchesOff.

@Test
public void testgts7SwitchesOff() throws OrekitException {
    RandomGenerator random = new Well19937a(0x0c953641bea0f6d2l);
    NRLMSISE00 atm = new NRLMSISE00(null, null, null);
    for (int i = 1; i <= 23; ++i) {
        atm = atm.withSwitch(i, 0);
    }
    doTestVoidMethod(atm, random, "gts7", 1.0e-50, 6.0e-14);
}
Also used : Well19937a(org.hipparchus.random.Well19937a) RandomGenerator(org.hipparchus.random.RandomGenerator) GeodeticPoint(org.orekit.bodies.GeodeticPoint) Test(org.junit.Test)

Example 44 with Well19937a

use of org.hipparchus.random.Well19937a in project Orekit by CS-SI.

the class NRLMSISE00Test method testgts7SwitchesRandom.

@Test
public void testgts7SwitchesRandom() throws OrekitException {
    RandomGenerator random = new Well19937a(0x7347cacb946cb93bl);
    NRLMSISE00 atm = new NRLMSISE00(null, null, null);
    for (int i = 1; i <= 23; ++i) {
        atm = atm.withSwitch(i, random.nextInt(3) - 2);
    }
    doTestVoidMethod(atm, random, "gts7", 1.0e-50, 6.0e-14);
}
Also used : Well19937a(org.hipparchus.random.Well19937a) RandomGenerator(org.hipparchus.random.RandomGenerator) GeodeticPoint(org.orekit.bodies.GeodeticPoint) Test(org.junit.Test)

Example 45 with Well19937a

use of org.hipparchus.random.Well19937a in project Orekit by CS-SI.

the class NRLMSISE00Test method testgtd7SwitchesRandom.

@Test
public void testgtd7SwitchesRandom() throws OrekitException {
    RandomGenerator random = new Well19937a(0xa12175ef0b689b04l);
    NRLMSISE00 atm = new NRLMSISE00(null, null, null);
    for (int i = 1; i <= 23; ++i) {
        atm = atm.withSwitch(i, random.nextInt(3) - 2);
    }
    doTestVoidMethod(atm, random, "gtd7", 1.0e-50, 3.0e-14);
}
Also used : Well19937a(org.hipparchus.random.Well19937a) RandomGenerator(org.hipparchus.random.RandomGenerator) GeodeticPoint(org.orekit.bodies.GeodeticPoint) Test(org.junit.Test)

Aggregations

RandomGenerator (org.hipparchus.random.RandomGenerator)73 Well19937a (org.hipparchus.random.Well19937a)73 Test (org.junit.Test)51 FieldPVCoordinates (org.orekit.utils.FieldPVCoordinates)22 GeodeticPoint (org.orekit.bodies.GeodeticPoint)19 Vector3D (org.hipparchus.geometry.euclidean.threed.Vector3D)17 PVCoordinates (org.orekit.utils.PVCoordinates)15 TimeStampedFieldPVCoordinates (org.orekit.utils.TimeStampedFieldPVCoordinates)15 FieldVector3D (org.hipparchus.geometry.euclidean.threed.FieldVector3D)14 FieldAbsoluteDate (org.orekit.time.FieldAbsoluteDate)14 DSFactory (org.hipparchus.analysis.differentiation.DSFactory)13 DerivativeStructure (org.hipparchus.analysis.differentiation.DerivativeStructure)13 Frame (org.orekit.frames.Frame)10 GaussianRandomGenerator (org.hipparchus.random.GaussianRandomGenerator)8 UncorrelatedRandomVectorGenerator (org.hipparchus.random.UncorrelatedRandomVectorGenerator)8 FieldKeplerianOrbit (org.orekit.orbits.FieldKeplerianOrbit)8 OrbitType (org.orekit.orbits.OrbitType)8 FieldSpacecraftState (org.orekit.propagation.FieldSpacecraftState)8 SpacecraftState (org.orekit.propagation.SpacecraftState)8 FieldNumericalPropagator (org.orekit.propagation.numerical.FieldNumericalPropagator)8