Package org.openpixi.pixi.physics.grid

Examples of org.openpixi.pixi.physics.grid.ChargeConservingCIC


    defaultSettings.setGridCellsX(10);
    defaultSettings.setGridCellsY(10);
    defaultSettings.setNumOfParticles(100);
    defaultSettings.setIterations(100);
    defaultSettings.setParticleSolver(new LeapFrogHalfStep());
                defaultSettings.setInterpolator(new ChargeConservingCIC());
                defaultSettings.setOCLParticleSolver("leap frog half step");
                defaultSettings.setOCLGridInterpolator("charge conserving CIC");
               
    Simulation sequentialSimulation = new Simulation(defaultSettings);
View Full Code Here


    defaultSettings.setGridCellsX(10);
    defaultSettings.setGridCellsY(10);
    defaultSettings.setNumOfParticles(100);
    defaultSettings.setIterations(100);
    defaultSettings.setParticleSolver(new BorisDamped());
                defaultSettings.setInterpolator(new ChargeConservingCIC());
                defaultSettings.setOCLParticleSolver("boris damped");
                defaultSettings.setOCLGridInterpolator("charge conserving CIC");
               
    Simulation sequentialSimulation = new Simulation(defaultSettings);
View Full Code Here

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

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

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

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

    stt.setSimulationHeight(100);

    stt.setGridCellsX(100);
    stt.setGridCellsY(100);
    stt.setGridSolver(new SimpleSolver());
    stt.setInterpolator(new ChargeConservingCIC());

    this.s = new Simulation(stt);
    this.g = s.grid;
    g.resetCurrent();
   
View Full Code Here

    stt.setParticleMaxSpeed(stt.getSpeedOfLight());

    stt.setGridCellsX(100);
    stt.setGridCellsY(100);
    stt.setGridSolver(new SimpleSolver());
    stt.setInterpolator(new ChargeConservingCIC());

    Simulation s = new Simulation(stt);
    PoissonSolverCalculations.output(s.grid);
  }
View Full Code Here

    stt.addParticle(par);
  }
           
            stt.setPoissonSolver(new PoissonSolverFFTPeriodic());
            stt.useGrid(true);
            stt.setInterpolator(new ChargeConservingCIC());
            //set to charge conserving CIC; already preset in settings
  Simulation simulation = new Simulation(stt);
  return simulation;
}
View Full Code Here

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

TOP

Related Classes of org.openpixi.pixi.physics.grid.ChargeConservingCIC

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.