Code Monkey home page Code Monkey logo

Comments (7)

lifei07 avatar lifei07 commented on July 30, 2024

Hello @berceanu, thanks for your attention! Unfortunately, the current version does not support beams are initialized in that way.

from quickpic-opensource.

lifei07 avatar lifei07 commented on July 30, 2024

I realized I may misunderstand your question. Did you mean the beam initially has a transverse position offset wrt the axis or propagates at an angle? If the former, you may use the parameters "centroid_x" and "centroid_y" to set up. If the latter, the current code does not support yet, but it would be straightforward for you to modify that part of code.

from quickpic-opensource.

berceanu avatar berceanu commented on July 30, 2024

Sorry, I realize I wasn't so clear in my initial question. What I mean is this:
https://imgur.com/a/59LIfzP

from quickpic-opensource.

berceanu avatar berceanu commented on July 30, 2024

Can't we import from a file the positions and momenta of all the macroparticles of the driver bunch?

from quickpic-opensource.

lifei07 avatar lifei07 commented on July 30, 2024

It doesn't support particle import yet.

from quickpic-opensource.

caozigao avatar caozigao commented on July 30, 2024

Can't we import from a file the positions and momenta of all the macroparticles of the driver bunch?

Actually, we have a beam profile (beam profile number is 3) that can import external particle data into QuickPIC. You can find that in the dev branch. However, we did not provide any instructions for that in the wiki page. If you want to try that, please let me know.

from quickpic-opensource.

berceanu avatar berceanu commented on July 30, 2024

Hi Weiming, thanks for your reply. Before delving further into this issue, I would like to know if QuickPIC (and the quasistatic approximation in general) is applicable to this problem -- we are dealing with a 90 MeV electron bunch, that is about 3 mm long and is propagating in a uniform plasma for 3 cm.

from quickpic-opensource.

Related Issues (16)

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.