Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #660

Closed
Open
Created Jun 16, 2021 by ext-rogers_c@ext-rogers_cDeveloper

OpalElement wrapper

I had a go at doing an OpalElement wrapper:

https://gitlab.psi.ch/ext-rogers_c/src/-/blob/master/src/PyOpal/PyElement.h

https://gitlab.psi.ch/ext-rogers_c/src/-/blob/master/src/PyOpal/PyElement.cpp

I implement an OpalVerticalFFAMagnet wrapper here:

https://gitlab.psi.ch/ext-rogers_c/src/-/blob/master/src/PyOpal/PyVerticalFFAMagnet.h

https://gitlab.psi.ch/ext-rogers_c/src/-/blob/master/src/PyOpal/PyVerticalFFAMagnet.cpp

and here is a script that builds a OpalVerticalFFAMagnet in python and plots the field. Not a proper test yet, more like a proof that it "works".

https://gitlab.psi.ch/ext-rogers_c/src/-/blob/master/tests/opal_src/PyOpal/test_vertical_ffa_magnet.py

This is related to #516 (closed) and dependent on #624 (closed). I don't want to try to make a merge branch until #624 (closed) is merged so I just link to my dev fork instead. It can only cause mayhem if I start sticking this stuff in #624 (closed) branch or try to make a new branch that is dependent on the #624 (closed) branch!

Edited Jun 16, 2021 by ext-rogers_c
Assignee
Assign to
2022.1
Milestone
2022.1 (Past due)
Assign milestone
Time tracking