Package org.openpixi.pixi.physics.solver

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


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


    Settings settings = ClassCopier.copy(defaultSettings);
    settings.setNumOfNodes(2);
    variousTestSettings.put("2 nodes - self communication", settings);

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

    settings = ClassCopier.copy(defaultSettings);
    settings.setNumOfThreads(5);
    settings.setParticleSolver(new Euler());
    variousTestSettings.put("Threaded version", settings);

    // Fails probably because Boris remembers a lot of information about the force
    // in the particle. This information remembering probably causes problem when particles
    // are transferred from one node to the other.
View Full Code Here

TOP

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

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.