Code Monkey home page Code Monkey logo

Comments (7)

sjgrimm avatar sjgrimm commented on August 25, 2024 2

I am interested in a solution that works before post-processing. The proposed solution with happi goes against all efforts of the openpmd standard.
Therefore, I would highly appreciate if you could add this feature (or propose some kind of workaround that works before post-processing).

from smilei.

OwenSlevert avatar OwenSlevert commented on August 25, 2024 1

I have the same problem. It would be really helpful, if it could be implemented before starting the simulation.

from smilei.

sjgrimm avatar sjgrimm commented on August 25, 2024

Or is there a way to manually change values in the hdf5 via a command in the namelist?
Then I could use this as a workaround and manually set the desired values for gridGlobalOffset and the temporal offset.

from smilei.

mccoys avatar mccoys commented on August 25, 2024

This can be done at post-processing time using happi:
https://smileipic.github.io/Smilei/Use/post-processing.html#other-arguments-for-diagnostics
arguments xoffset, yoffset

from smilei.

mccoys avatar mccoys commented on August 25, 2024

Why do you need it at the beginning if it can be changed afterwards?

from smilei.

sjgrimm avatar sjgrimm commented on August 25, 2024

I want to be able to use the same tools for visualisation for all my simulations (also independent of the code they were compiled with). Thats what the openpmd standard is for...
https://github.com/openPMD/openPMD-standard

from smilei.

beck-llr avatar beck-llr commented on August 25, 2024

One could argue that defining an arbitrary offset should be done during post-processing and not pre-determined and definitive because you might want to change your mind and be able to use different offset for the same data.

So maybe a request on the side of the viewer you are using to implement xoffset and yoffset as in Happi would be relevant ?

from smilei.

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.