Package org.openpixi.pixi.physics.solver

Examples of org.openpixi.pixi.physics.solver.LeapFrogDamped


    //defaultSettings.setTimeStep(0.1);
    defaultSettings.setGridCellsX(10);
    defaultSettings.setGridCellsY(10);
    defaultSettings.setNumOfParticles(100);
    defaultSettings.setIterations(100);
    defaultSettings.setParticleSolver(new LeapFrogDamped());
                defaultSettings.setInterpolator(new ChargeConservingCIC());
                defaultSettings.setOCLParticleSolver("leap frog damped");
                defaultSettings.setOCLGridInterpolator("charge conserving CIC");
               
    Simulation sequentialSimulation = new Simulation(defaultSettings);
View Full Code Here


    settings.setParticleSolver(new SemiImplicitEulerRelativistic(
        settings.getCellWidth() / settings.getTimeStep()));
    variousTestSettings.put("SemiImplicitEulerRelativistic", settings);

    settings = ClassCopier.copy(defaultSettings);
    settings.setParticleSolver(new LeapFrogDamped());
    variousTestSettings.put("LeapFrogDamped", settings);

    // Fails because in the distributed version we do additions upon particle's position
    // when it is transferred from one node to another. These additions are cause of the small
    // deviation from the non distributed simulation solution.
View Full Code Here

TOP

Related Classes of org.openpixi.pixi.physics.solver.LeapFrogDamped

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.