Skip to Content.
Sympa Menu

opal - [Opal] The problem of the command "DUMPEMFIELDS" and "DUMPFIELDS"

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] The problem of the command "DUMPEMFIELDS" and "DUMPFIELDS"


Chronological Thread  
  • From: Dou Guoliang <douguoliang AT impcas.ac.cn>
  • To: opal <opal AT lists.psi.ch>
  • Subject: [Opal] The problem of the command "DUMPEMFIELDS" and "DUMPFIELDS"
  • Date: Thu, 13 Jul 2023 23:14:46 +0800


Hi ,all 

When I use the command "DUMPFIELDS" and "DUMPEMFIELDS" , the opal_2.4 shows the error (annex 1):

Error> *** Error:
Error> Internal OPAL error:
Error> Assertion 'idx.i < num_gridpx_m - 1' failed.
Error> idx.i = 118, num_gridpx_m - 1 = 118.000000
Error> in
Error> /afs/psi.ch/user/g/gsell/private/src/OPAL/src/src/Classic/Fields/FM3DH5BlockBase.h, line 163

I have checked my inputfile ,and there is no wrong experssion. The detailed experssion is :

DUMPEMFIELDS, COORDINATE_SYSTEM = Cartesian, X_START= -0.8, X_STEPS=1601, DX= 0.001, Y_START=-0.25, Y_STEPS=501, DY= 0.001, Z_START=-0.02, Z_STEPS=41, DZ=0.001, T_START=0,T_STEPS=1, DT=0.1 ,FILE_NAME="FIELDEM-MAPXYZ.dat";

When I try to split the original output area of X into two parts, opal can output the corresponding two parts normally. First change X_STEPS to 117, and then change X_START and X_STPES  to -0.215 and 204.

And I re-ran another cyclotron simulation and got the same error, except idx.i changed to 14 .

In addition, I found that the unit of position coordinates of command  "DUMPEMFIELDS" and "DUMPFIELDS" in the opal is defined as meters, but in fact, the table head of the output file shows the unit of position coordinates is millimeter. (annex 2)

Has anyone met this error?

Best regards,
Dou 



Dou Guoliang
Institute of Modern Physics
Chines Academy of Science
douguoliang AT impcas.ac.cn

Attachment: f89235712d7aee35e5df2a27e9fd0ae.png
Description: PNG image

Attachment: 08a073c15ce852a915145c7848b1332.png
Description: PNG image




Archive powered by MHonArc 2.6.24.

Top of Page