GithubHelp home page GithubHelp logo

Comments (2)

ProjectPhysX avatar ProjectPhysX commented on August 26, 2024

Hi @Meerkov,

this is the nature of the Esoteric-Pull streaming scheme, it loads/stores the DDFs in asymmetric locations, which solves the data-dependencies of the streaming to eliminate the 2nd copy of the grid in VRAM. This asymmetric storage pattern has no effect on the physics of the simulatuion. The location of every pair of opposing DDFs ((1,2), (3,4), ...) on the grid is irrelevant: individual pairs can be off-set by any number of cells in any direction, as long as they are consistently stored in swapped order in the same locations. The variant I have, where one DDF of every pair always is in the center cell, has best possible memory coalescence and is fastest.

I'd argue that i+1u (= DDF in opposite direction of i, see here Figure 1) is easier than rotate(i,2), although through loop unrolling there will not be additional integer computation for either.

Kind regards,
Moritz

from fluidx3d.

Meerkov avatar Meerkov commented on August 26, 2024

There are 2 design choices mentioned here:

  1. order for convenient 90 degree turns (currently in no particular order)
  2. pull direction such that it always prefers to pull in preference order +X, +Y, +Z. (currently pulls with slight preference from +X, but not consistently).

Since neither impacts the speed of the algorithm, but they have other nice properties which can be used, I see it as a Feature Request, but I understand it would not be accepted as the purpose of these changes is non-obvious. This creates some useful properties for cubed sphere grids.

from fluidx3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.