|
OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include <TrimCoilMirrored.h>


Public Member Functions | |
| TrimCoilMirrored (double bmax, double rmin, double rmax, double slope) | |
| virtual | ~TrimCoilMirrored () |
Public Member Functions inherited from TrimCoil | |
| TrimCoil (double bmax, double rmin, double rmax) | |
| void | applyField (const double r, const double z, const double phi_rad, double *br, double *bz) |
| void | setAzimuth (const double phimin, const double phimax) |
| Set azimuthal range. More... | |
| virtual | ~TrimCoil () |
Private Member Functions | |
| virtual void | doApplyField (const double r, const double z, const double phi_rad, double *br, double *bz) |
| virtual implementation of applyField More... | |
| TrimCoilMirrored ()=delete | |
Private Attributes | |
| double | bslope_m |
| Slope in (1 / mm) More... | |
Additional Inherited Members | |
Protected Attributes inherited from TrimCoil | |
| double | bmax_m |
| Maximum B field (kG) More... | |
| double | rmin_m |
| Minimum radius (m) More... | |
| double | rmax_m |
| Maximum radius (m) More... | |
| double | phimin_m = 0.0 |
| Minimal azimuth (rad) More... | |
| double | phimax_m = Physics::two_pi |
| Maximal azimuth (rad) More... | |
TrimCoilMirrored class Shape mirrored from TC-15 shape http://accelconf.web.cern.ch/AccelConf/ipac2017/papers/thpab077.pdf
Definition at line 10 of file TrimCoilMirrored.h.
| TrimCoilMirrored::TrimCoilMirrored | ( | double | bmax, |
| double | rmin, | ||
| double | rmax, | ||
| double | slope | ||
| ) |
Definition at line 8 of file TrimCoilMirrored.cpp.
References bslope_m.
|
inlinevirtual |
Definition at line 18 of file TrimCoilMirrored.h.
|
privatedelete |
|
privatevirtual |
virtual implementation of applyField
update bz and br with trim coil contributions
Implements TrimCoil.
Definition at line 19 of file TrimCoilMirrored.cpp.
References TrimCoil::bmax_m, bslope_m, endl(), ERRORMSG, matheval::detail::math::isinf(), matheval::detail::math::isnan(), log(), log10(), pow(), TrimCoil::rmax_m, and TrimCoil::rmin_m.

|
private |
Slope in (1 / mm)
Definition at line 18 of file TrimCoilMirrored.h.
Referenced by doApplyField(), and TrimCoilMirrored().
1.8.5