Skip to Content.
Sympa Menu

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

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Source code about computing self-field.


Chronological Thread  
  • From: "Muralikrishnan Sriramkrishnan (PSI)" <sriramkrishnan.muralikrishnan AT psi.ch>
  • To: sherlp <1341516422 AT qq.com>, "Adelmann Andreas (PSI)" <andreas.adelmann AT psi.ch>
  • Cc: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
  • Subject: Re: [Opal] Source code about computing self-field.
  • Date: Mon, 11 Apr 2022 12:02:30 +0000
  • Accept-language: en-US, de-CH
  • Authentication-results: mc3.ethz.ch; iprev=pass (psi-seppmail1.ethz.ch) smtp.remote-ip=129.132.93.141; spf=pass smtp.mailfrom=psi.ch; dmarc=skipped

Hi Sherlp,


I think this is what you want


https://gitlab.psi.ch/OPAL/src/-/blob/master/src/Classic/Algorithms/PartBunchBase.hpp#L504


This is the function where the origin and mesh size of the computational domain are set and it is called from ParallelTTracker.cpp and ParallelCyclotronTracker.cpp. Hope it helps.


From: opal-request AT lists.psi.ch <opal-request AT lists.psi.ch> on behalf of Adelmann Andreas (PSI) <andreas.adelmann AT psi.ch>
Sent: Monday, April 11, 2022 1:32:52 PM
To: sherlp
Cc: opal AT lists.psi.ch
Subject: Re: [Opal] Source code about computing self-field.
 
Hi Sheryl, I am not sure I see what you want to accomplish. 
Maybe it is easier to have a short Zoom. Let me know your 
availability.


Cheers Andy 
------
Dr. sc. math. Andreas (Andy) Adelmann
Head a.i. Labor for Scientific Computing and Modelling 
Paul Scherrer Institut OHSA/ CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Zoom ID: 470-582-4086 Password: AdA
Zoom Link: https://ethz.zoom.us/j/4705824086?pwd=dFcvT1pMMGY0bHg0dTNncUNZZTJkZz09

-------------------------------------------------------
Friday: ETH HPK G 28   +41 44 633 3076
============================================
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 
============================================

On 8 Apr 2022, at 11:06, sherlp <1341516422 AT qq.com> wrote:

Dear A

I 'm sorry for my ambiguous statement. And I found a precise one below (14.6
Bounding Box Enlargement)

https://gitlab.psi.ch/OPAL/documentation/manual/blob/master/fieldsolvers.asciidoc#sec.fieldsolvers.FSBBOX

I would like to find where to create the bounding box in the source code.
According to your answer of setting up the computational domain in
setupFieldsolver(), I have found two possible location which mentioned domain
and mesh spacing below:

https://gitlab.psi.ch/OPAL/src/-/blob/master/src/Structure/FieldSolver.cpp#L422

https://gitlab.psi.ch/OPAL/src/-/blob/master/src/Solvers/FFTPoissonSolver.cpp#L92

But I am not quite sure about that.

Best regards,
Sherlp









Archive powered by MHonArc 2.6.19.

Top of Page