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 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • 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
  • #36

Closed
Open
Created Feb 14, 2017 by Valeria Rizzoglio@rizzoglio_v

SurfacePhysics cout

This is the command to define a collimator with SurfacePhysics

KMA3o: ECOLLIMATOR, XSIZE=0.0035, YSIZE=0.0035, L=0.002, SURFACEPHYSICS=CopperCol, ELEMEDGE=4.2105;

and this is the corresponding OPAL cout

OPAL{0}> * ************* S U R F A C E P H Y S I C S **************************************** 
OPAL{0}> * SurfacePhysics::initSurfacePhysicsHandler 
OPAL{0}> * ********************************************************************************** 
OPAL{0}> * ************* S U R F A C E P H Y S I C S **************************************** 
OPAL{0}> * SURFACEPHYSICS KMA3O_sphys
OPAL{0}> * MATERIAL       Copper
OPAL{0}> * RADIUS         0
OPAL{0}> * SIGMA          0
OPAL{0}> * TAU            0
OPAL{0}> * ********************************************************************************** 
OPAL{0}> 

Would it be possible to print XSIZE, YSIZE, LENGTH or aperture? The printed cout does not change in case of Collimator or Degrader.

In addition, RADIUS, SIGMA and TAU are not properties of the collimator/degrader but of a wakefield function, that in this case was not used.

Errata Corrige

Attributes available for ECOLLIMATOR:

OPAL> 	string          TYPE            The element design type (the project name)
OPAL> 	real array      APERTURE        The element aperture
OPAL> 	real            L               The element length in m
OPAL> 	string          WAKEF           Defines the wake function
OPAL> 	string          SURFACEPHYSICS  Defines the surface physics handler
OPAL> 	real            XSIZE           Horizontal half-aperture in m
OPAL> 	real            YSIZE           Vertical half-aperture in m
OPAL> 	string          OUTFN           Monitor output filename
OPAL> 	real            DX              Misalignment in x direction
OPAL> 	real            DY              Misalignment in y direction

With WAKEF, it is possible to define RADIUS, SIGMA, TAU. So those are properties of the collimator.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking