Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 99cf6dff authored by ext-rogers_c's avatar ext-rogers_c
Browse files

Merge branch '11-description-of-splinetimedependence-element' into 'master'

Resolve "Description of SplineTimeDependence element"

Closes #11

See merge request OPAL/documentation/manual!105
parents ad630e2d 96bde53f
No related branches found
No related tags found
No related merge requests found
......@@ -1959,6 +1959,8 @@ transverse dependence on electric field.
[[sec.elements.polynomial-time-dependence]]
==== Time Dependence
===== Polynomial Time Dependence
The `POLYNOMIAL_TIME_DEPENDENCE` element is used to define time
dependent parameters in RF cavities in terms of a third order
polynomial.
......@@ -1981,6 +1983,24 @@ g(t) = p_0 + p_1 t + p_2 t^2 + p_3 t^3.
An example of a Variable Frequency RF cavity of cyclotron with
polynomial time dependence of parameters is given below:
===== Spline Time Dependence
The `SPLINE_TIME_DEPENDENCE` element is used to define time
dependent parameters in RF cavities in terms of a first or third order
spline fit.
ORDER::
Order of the lookup - either 1 for linear interpolation, or 3 for cubic
interpolation with quadratic smoothing. Other values make an error.
TIMES::
Array of real times in ns. There must be at least `ORDER`+1 elements in the
array and they must be strictly monotically increasing.
VALUES::
Array of real values. The length of `VALUES` must be the same as the length
of `TIMES`.
[[sec.elements.variable-rf-cavity-fringe-field]]
==== Fringe Field
It is possible to model a soft-edged RF cavity with time dependent parameters using the `VARIABLE_RF_CAVITY_FRINGE_FIELD` element. This will place a full cavity including the field body and fringe fields. `VARIABLE_RF_CAVITY_FRINGE_FIELD` must be placed using the `RingDefinition` element.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment