handles reading sector field maps
More...
#include <SectorMagneticFieldMap.h>
|
static std::vector< std::vector< double > > | readLines (std::string file_name, std::vector< double > units) |
|
static interpolation::ThreeDGrid * | generateGrid (const std::vector< std::vector< double > > field_points, SectorMagneticFieldMap::symmetry sym) |
|
static interpolation::VectorMap * | getInterpolator (const std::vector< std::vector< double > > field_points, interpolation::ThreeDGrid *grid, SectorMagneticFieldMap::symmetry sym) |
|
static interpolation::VectorMap * | getInterpolatorPolyPatch (const std::vector< std::vector< double > > field_points, interpolation::ThreeDGrid *grid, SectorMagneticFieldMap::symmetry sym, int poly_order, int smoothing_order) |
|
static bool | floatGreaterEqual (double in1, double in2) |
|
static bool | comparator (std::vector< double > field_item1, std::vector< double > field_item2) |
|
handles reading sector field maps
SectorMagneticFieldMap::IO provides routines to read a sector field map for input to tracking.
Definition at line 242 of file SectorMagneticFieldMap.h.
◆ IO() [1/2]
SectorMagneticFieldMap::IO::IO |
( |
| ) |
|
|
private |
◆ IO() [2/2]
SectorMagneticFieldMap::IO::IO |
( |
const IO & |
map | ) |
|
|
private |
◆ ~IO()
SectorMagneticFieldMap::IO::~IO |
( |
| ) |
|
|
private |
◆ comparator()
bool SectorMagneticFieldMap::IO::comparator |
( |
std::vector< double > |
field_item1, |
|
|
std::vector< double > |
field_item2 |
|
) |
| |
|
staticprivate |
◆ floatGreaterEqual()
bool SectorMagneticFieldMap::IO::floatGreaterEqual |
( |
double |
in1, |
|
|
double |
in2 |
|
) |
| |
|
staticprivate |
◆ generateGrid()
◆ getInterpolator()
◆ getInterpolatorPolyPatch()
◆ readLines()
std::vector< std::vector< double > > SectorMagneticFieldMap::IO::readLines |
( |
std::string |
file_name, |
|
|
std::vector< double > |
units |
|
) |
| |
|
staticprivate |
◆ readMap()
◆ errMsg1
const std::string SectorMagneticFieldMap::IO::errMsg1 |
|
staticprivate |
Initial value:=
std::string("field points during read ")+
std::string("operation; this could mean that the field ")+
std::string("map was not complete, or that OPAL could ")+
std::string("not calculate regular grid spacings properly. ")+
std::string("Check that the field map is on a cylindrical ")+
std::string("grid written in Cartesian coordinates and the ")+
std::string("grid points are written with enough precision (")+
std::string("check the grid size information above).")
Definition at line 303 of file SectorMagneticFieldMap.h.
◆ floatTolerance_m
const double SectorMagneticFieldMap::IO::floatTolerance_m = 1e-3 |
|
staticprivate |
◆ sortOrder_m
const int SectorMagneticFieldMap::IO::sortOrder_m = {0, 1, 2} |
|
staticprivate |
The documentation for this class was generated from the following files: