Package org.openpixi.pixi.physics.particles

Examples of org.openpixi.pixi.physics.particles.Particle.addX()


    // valid at the neighbor.
    // However, we want the particle to keep its position at the local node.
    // Thus, we need a copy of the particle.

    Particle copy = particle.copy();
    copy.addX(-xoffset);
    copy.addPrevX(-xoffset);
    copy.addY(-yoffset);
    copy.addPrevY(-yoffset);
    sharedData.registerBorderParticle(copy);
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.