Skip to content

Meson build system and Python3 migration#2

Draft
woodtp wants to merge 4 commits into
PyORBIT-Collaboration:masterfrom
woodtp:meson-python3-migration
Draft

Meson build system and Python3 migration#2
woodtp wants to merge 4 commits into
PyORBIT-Collaboration:masterfrom
woodtp:meson-python3-migration

Conversation

@woodtp

@woodtp woodtp commented Jun 19, 2026

Copy link
Copy Markdown

Migration complete.

No idea if this is correct, but it compiles and runs against PyORBIT3 as long as it was built against.

ls-py3 on  meson-python3-migration [?] via 🅒 pyo3
❯ python examples/python3-1GeV-particle-stripping.py            (pyo3)
design angle of interaction = 39.3358243616564 direction of laser pulse = (-1, 0, -1.2202038756606468)
0.58828071701033
0.4117192829896892
1.000000000000019

Several files reference a LorentzTransformationEM class that doesn't appear to exist anymore. I commented them out to force my way through the compilation. So, that'll need to be reimplemented if it's supposed to work.

References appear in the following files:

ContinuumSS/TDMcontinuum.cc
ContinuumSS/ContinuumSS.cc
DensityMatrix/DensityMatrix.cc
DiagonalDensityMatrix/DM_noLaserField.cc
HminusStripping/HminusStripping.cc
HydrogenStarkParam/HydrogenStarkParam.cc
LS_utils/FieldOrientation.hh
LS_utils/FieldOrientation.cc
SchrodingerEquation/SchrodingerEquation.cc
Stark/Stark.cc
TwoLevelAtom/TwoLevelAtom.cc
TwoLevelStrongField/TwoLevelStrongField.cc
TwoLevelStrongField/StarkStrongField.cc

@woodtp woodtp changed the title Meson python3 migration Meson build system and Python3 migration Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant