1 #ifndef MagneticFieldGrid_H
2 #define MagneticFieldGrid_H
72 void putB3(
float Bx,
float By,
float Bz);
99 void interpolateAtPoint(
double X1,
double X2,
double X3,
float &Bx,
float &By,
float &Bz);
102 void putCoordGetInd(
double X1,
double X2,
double X3,
int &Index1,
int &Index2,
int &Index3);
104 void putIndicesGetB(
int Index1,
int Index2,
int Index3,
float &Bx,
float &By,
float &Bz);
106 void putIndGetCoord(
int Index1,
int Index2,
int Index3,
double &X1,
double &X2,
double &X3);
108 int lineNumber(
int Index1,
int Index2,
int Index3);
void load(const std::string &name)
load grid binary file
void putCoordGetInd(double X1, double X2, double X3, int &Index1, int &Index2, int &Index3)
void putB3(float Bx, float By, float Bz)
int gridType()
returns value of GridType (and eventually prints the type + short description)
std::vector< BVector > FieldValues
void putIndGetCoord(int Index1, int Index2, int Index3, double &X1, double &X2, double &X3)
double BasicDistance1[3][3]
int lineNumber(int Index1, int Index2, int Index3)
void putIndicesGetB(int Index1, int Index2, int Index3, float &Bx, float &By, float &Bz)
double BasicDistance2[3][3]
void interpolateAtPoint(double X1, double X2, double X3, float &Bx, float &By, float &Bz)
interpolates the magnetic field at input coordinate point and returns field values ...