Open dtabell opened 4 years ago
Waiting on #83
I fixed (and closed) the issue with the failing tests, #86.
Have now merged in Boaz's new tests (#83) for electric elements. Last set of duplicate common blocks are those associated with E fields: C.DDEXYZ_2.H
, C.D3E_2.H
, and C.D4EXYZ_2.H
.
Zgoubi has multiple common blocks (originally a total of 17) that have duplicate definitions. For example, the file
common/C.DROITE.H
declareswhereas the file
common/C.DROITE_2.H
declaresIn other words, files that
include
the first version and refer toCA
are referring to the same data as files thatinclude
the second version and refer toAM
.Before we can move such common blocks to data modules (and take advantage of possible optimizations), we need to eliminate the duplicate definitions. This requires modifying the relevant files to use a common set of variable names.