Package org.openpixi.pixi.physics.grid

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


    sharedDataManager =  createSharedDataManager();
    ParticleBoundaries particleBoundaries = createParticleBoundaries(sharedDataManager);
    sharedDataManager.setParticleBoundaries(particleBoundaries);

    Grid grid = createGrid(sharedDataManager);
    Interpolation interpolation = createInterpolationIterator(sharedDataManager);
    sharedDataManager.setGrid(grid);

    sharedDataManager.initializeCommunication();
View Full Code Here


    mover = new ParticleMover(
        settings.getParticleSolver(),
        particleBoundaries,
        settings.getParticleIterator());

    grid = new Grid(settings);
    if (settings.useGrid()) {
      turnGridForceOn();
    } else {
      turnGridForceOff();
    }
View Full Code Here

    mover = new ParticleMover(
        settings.getParticleSolver(),
        particleBoundaries,
        settings.getParticleIterator());

    grid = new Grid(settings);
    if (settings.useGrid()) {
      turnGridForceOn();
    } else {
      turnGridForceOff();
    }
View Full Code Here

  public Grid create() {

    Cell[][] myCells = setUpCellValues();
    setUpBorderCells(myCells);

    return new Grid(settings, myCells);
  }
View Full Code Here

      throw new RuntimeException(e);
    }

    // Initialize the grid

    initialGrid = new Grid(settings);
    initialParticles = settings.getParticles();

    ParticleGridInitializer pgi = new ParticleGridInitializer();
    pgi.initialize(
        new LocalInterpolation(
View Full Code Here

    Cell[][] cells = new Cell[totalXCells][totalYCells];
    for (int workerID = 0; workerID < partitions.length; ++workerID) {
      fillSubgrid(partitions[workerID], gridPartitions[workerID], cells);
    }

    return new Grid(settings, cells);
  }
View Full Code Here

TOP

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

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.