Skip to Content.
Sympa Menu

opal - [Opal] Source code about computing self-field.

opal AT

Subject: The OPAL Discussion Forum

List archive

[Opal] Source code about computing self-field.

Chronological Thread  
  • From: "sherlp" <1341516422 AT>
  • To: opal AT
  • Subject: [Opal] Source code about computing self-field.
  • Date: Thu, 7 Apr 2022 16:20:45 +0200

Dear all,

While computing self-field in OPAL-CYCL, a cubic domain containing all
macroparticles is created and then discretized. After that, all particles are
scattered on the grids. And I have found the scatter() function whose
annotation says 'scatter particles charge onto grid' at(although I don't know
how it actually works)

And I got this from computeSelfFields_cycl() function at

But I couldn't find any statement to create the whole physical domain to
discretize and scatter particles.

I think the statement should be after the time integration of bunch and before
the next scattering on grids to compute self-field because we should know the
position and boundary of bunch to contain all macroparticles but I still
couldn't find it.

Best regards,

Archive powered by MHonArc 2.6.19.

Top of Page