OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
MultipoleTConfig.h
Go to the documentation of this file.
1//
2// Cubic Spline Interpolation to replace GSL spline
3//
4// Copyright (c) 2023, Paul Scherrer Institute, Villigen PSI, Switzerland
5// All rights reserved
6//
7// This file is part of OPAL.
8//
9// OPAL is free software: you can redistribute it and/or modify
10// it under the terms of the GNU General Public License as published by
11// the Free Software Foundation, either version 3 of the License, or
12// (at your option) any later version.
13//
14// You should have received a copy of the GNU General License
15// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
16//
17
18#ifndef ABSBEAMLINE_MULTIPOLET_CONFIG_H
19#define ABSBEAMLINE_MULTIPOLET_CONFIG_H
20
21#include <Kokkos_Core.hpp>
22
26 unsigned int maxFOrder_m{3};
28 unsigned int maxXOrder_m{20};
30 static constexpr unsigned int NumPoles = 6;
31 Kokkos::Array<double, NumPoles> transverseProfile_m{};
34 double length_m{1.0};
35 double entranceAngle_m{0.0};
36 double rotation_m{0.0};
37 double bendAngle_m{0.0};
38 bool variableRadius_m{false};
39 double entryOffset_m{0.0};
41 double verticalAperture_m{0.5};
45 double fringeS0_m;
48};
49
50#endif // OPALX_MULTIPOLETCONFIG_H
static constexpr unsigned int NumPoles
unsigned int maxXOrder_m
unsigned int maxFOrder_m
unsigned int transverseProfileMaxOrder_m
Kokkos::Array< double, NumPoles > transverseProfile_m