Package org.openpixi.pixi.physics.force

Examples of org.openpixi.pixi.physics.force.ConstantForce


  /**
   * Test if solver solves similar to Euler
   */
  public void testCompareWithEuler() {
    Particle p = new ParticleFull();
    ConstantForce f = new ConstantForce();
    double step = 0.00001d;
    Solver solver2 = new Euler();

    f.ex = 1.234;
    f.ey = 3.456;
View Full Code Here


//    settings = ClassCopier.copy(defaultSettings);
//    settings.addForce(new SpringForce());
//    variousTestSettings.put("SpringForce", settings);

    settings = ClassCopier.copy(defaultSettings);
    ConstantForce constantForce = new ConstantForce();
    constantForce.bz = -1;
    settings.addForce(constantForce);
    variousTestSettings.put("MagneticForce", settings);

    return variousTestSettings;
View Full Code Here

TOP

Related Classes of org.openpixi.pixi.physics.force.ConstantForce

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.