BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
__w
bdsim
bdsim
include
BDSIntegratorRMatrixThin.hh
1
/*
2
Beam Delivery Simulation (BDSIM) Copyright (C) BDSIM Collaboration, 2001 - 2026.
3
4
This file is part of BDSIM.
5
6
BDSIM is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published
8
by the Free Software Foundation version 3 of the License.
9
10
BDSIM is distributed in the hope that it will be useful, but
11
WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef BDSINTEGRATORRMATRIXTHIN_HH
20
#define BDSINTEGRATORRMATRIXTHIN_HH
21
22
#include "BDSIntegratorMag.hh"
23
24
#include "globals.hh"
25
26
class
G4Mag_EqRhs;
27
class
BDSMagnetStrength
;
28
41
class
BDSIntegratorRMatrixThin
:
public
BDSIntegratorMag
42
{
43
public
:
44
BDSIntegratorRMatrixThin
(
BDSMagnetStrength
const
* strength,
45
G4Mag_EqRhs* eqOfMIn,
46
G4double maximumRadiusIn);
47
48
virtual
~BDSIntegratorRMatrixThin
(){;}
49
50
virtual
void
Stepper(
const
G4double y[],
51
const
G4double dydx[],
52
const
G4double h,
53
G4double yOut[],
54
G4double yErr[]);
55
56
private
:
57
BDSIntegratorRMatrixThin
();
58
59
protected
:
60
// matrix elements set differently in derived cavity fringe class.
61
G4double kick1;
62
G4double kick2;
63
G4double kick3;
64
G4double kick4;
65
G4double rmat11;
66
G4double rmat12;
67
G4double rmat13;
68
G4double rmat14;
69
G4double rmat21;
70
G4double rmat22;
71
G4double rmat23;
72
G4double rmat24;
73
G4double rmat31;
74
G4double rmat32;
75
G4double rmat33;
76
G4double rmat34;
77
G4double rmat41;
78
G4double rmat42;
79
G4double rmat43;
80
G4double rmat44;
81
82
G4double maximumRadius;
83
};
84
85
#endif
BDSIntegratorMag
Common functionality to BDSIM integrators.
Definition
BDSIntegratorMag.hh:43
BDSIntegratorRMatrixThin
Integrator that just moves the particle parallel to the s axis.
Definition
BDSIntegratorRMatrixThin.hh:42
BDSMagnetStrength
Efficient storage of magnet strengths.
Definition
BDSMagnetStrength.hh:44
Generated on Thu Nov 12 2026 21:36:59 for BDSIM by
1.9.8