Package org.openpixi.pixi.physics.force.relativistic

Examples of org.openpixi.pixi.physics.force.relativistic.ConstantForceRelativistic


      //System.out.println("relativistic version on");
      if (s.f instanceof CombinedForce) {
        ArrayList<Force> forces = ((CombinedForce) s.f).forces;
        for (int j = 0; j < forces.size(); j++) {
          if (forces.get(j) instanceof ConstantForce){
            forces.set(j, new ConstantForceRelativistic(s.getSpeedOfLight()));
          }
          if (forces.get(j) instanceof SimpleGridForce){
            forces.set(j, new SimpleGridForceRelativistic(s));
          }
        }
View Full Code Here

TOP

Related Classes of org.openpixi.pixi.physics.force.relativistic.ConstantForceRelativistic

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.