#include <VectorFieldInterpolation.h>
Public Member Functions | |
void | defineCellPoint000 (double X1, double X2, double X3, double F1, double F2, double F3) |
provide the interpolation algorithm with 8 points, where the field is known (in) More... | |
void | defineCellPoint001 (double X1, double X2, double X3, double F1, double F2, double F3) |
void | defineCellPoint010 (double X1, double X2, double X3, double F1, double F2, double F3) |
void | defineCellPoint011 (double X1, double X2, double X3, double F1, double F2, double F3) |
void | defineCellPoint100 (double X1, double X2, double X3, double F1, double F2, double F3) |
void | defineCellPoint101 (double X1, double X2, double X3, double F1, double F2, double F3) |
void | defineCellPoint110 (double X1, double X2, double X3, double F1, double F2, double F3) |
void | defineCellPoint111 (double X1, double X2, double X3, double F1, double F2, double F3) |
void | putSCoordGetVField (double X1, double X2, double X3, double &F1, double &F2, double &F3) |
receive the interpolated field (out) at any point in space (in) More... | |
VectorFieldInterpolation () | |
~VectorFieldInterpolation () | |
Private Attributes | |
double | CellPoint000 [6] |
double | CellPoint001 [6] |
double | CellPoint010 [6] |
double | CellPoint011 [6] |
double | CellPoint100 [6] |
double | CellPoint101 [6] |
double | CellPoint110 [6] |
double | CellPoint111 [6] |
double | SC [3] |
double | VF [3] |
linear interpolation of a field (3D) in space (3D)
Modifications: droll: change from float to double droll: rename methods according to CMS coding rules
Definition at line 54 of file VectorFieldInterpolation.h.
|
inline |
Definition at line 57 of file VectorFieldInterpolation.h.
|
inline |
Definition at line 59 of file VectorFieldInterpolation.h.
void VectorFieldInterpolation::defineCellPoint000 | ( | double | X1, |
double | X2, | ||
double | X3, | ||
double | F1, | ||
double | F2, | ||
double | F3 | ||
) |
provide the interpolation algorithm with 8 points, where the field is known (in)
Definition at line 5 of file VectorFieldInterpolation.cc.
References CellPoint000.
Referenced by MagneticFieldGrid::interpolateAtPoint().
void VectorFieldInterpolation::defineCellPoint001 | ( | double | X1, |
double | X2, | ||
double | X3, | ||
double | F1, | ||
double | F2, | ||
double | F3 | ||
) |
Definition at line 49 of file VectorFieldInterpolation.cc.
References CellPoint001.
Referenced by MagneticFieldGrid::interpolateAtPoint().
void VectorFieldInterpolation::defineCellPoint010 | ( | double | X1, |
double | X2, | ||
double | X3, | ||
double | F1, | ||
double | F2, | ||
double | F3 | ||
) |
Definition at line 27 of file VectorFieldInterpolation.cc.
References CellPoint010.
Referenced by MagneticFieldGrid::interpolateAtPoint().
void VectorFieldInterpolation::defineCellPoint011 | ( | double | X1, |
double | X2, | ||
double | X3, | ||
double | F1, | ||
double | F2, | ||
double | F3 | ||
) |
Definition at line 71 of file VectorFieldInterpolation.cc.
References CellPoint011.
Referenced by MagneticFieldGrid::interpolateAtPoint().
void VectorFieldInterpolation::defineCellPoint100 | ( | double | X1, |
double | X2, | ||
double | X3, | ||
double | F1, | ||
double | F2, | ||
double | F3 | ||
) |
Definition at line 16 of file VectorFieldInterpolation.cc.
References CellPoint100.
Referenced by MagneticFieldGrid::interpolateAtPoint().
void VectorFieldInterpolation::defineCellPoint101 | ( | double | X1, |
double | X2, | ||
double | X3, | ||
double | F1, | ||
double | F2, | ||
double | F3 | ||
) |
Definition at line 60 of file VectorFieldInterpolation.cc.
References CellPoint101.
Referenced by MagneticFieldGrid::interpolateAtPoint().
void VectorFieldInterpolation::defineCellPoint110 | ( | double | X1, |
double | X2, | ||
double | X3, | ||
double | F1, | ||
double | F2, | ||
double | F3 | ||
) |
Definition at line 38 of file VectorFieldInterpolation.cc.
References CellPoint110.
Referenced by MagneticFieldGrid::interpolateAtPoint().
void VectorFieldInterpolation::defineCellPoint111 | ( | double | X1, |
double | X2, | ||
double | X3, | ||
double | F1, | ||
double | F2, | ||
double | F3 | ||
) |
Definition at line 82 of file VectorFieldInterpolation.cc.
References CellPoint111.
Referenced by MagneticFieldGrid::interpolateAtPoint().
void VectorFieldInterpolation::putSCoordGetVField | ( | double | X1, |
double | X2, | ||
double | X3, | ||
double & | F1, | ||
double & | F2, | ||
double & | F3 | ||
) |
receive the interpolated field (out) at any point in space (in)
Definition at line 93 of file VectorFieldInterpolation.cc.
References CellPoint000, CellPoint001, CellPoint010, CellPoint011, CellPoint100, CellPoint101, CellPoint110, CellPoint111, mps_fire::i, SC, and VF.
Referenced by MagneticFieldGrid::interpolateAtPoint().
|
private |
Definition at line 69 of file VectorFieldInterpolation.h.
Referenced by defineCellPoint000(), and putSCoordGetVField().
|
private |
Definition at line 73 of file VectorFieldInterpolation.h.
Referenced by defineCellPoint001(), and putSCoordGetVField().
|
private |
Definition at line 71 of file VectorFieldInterpolation.h.
Referenced by defineCellPoint010(), and putSCoordGetVField().
|
private |
Definition at line 75 of file VectorFieldInterpolation.h.
Referenced by defineCellPoint011(), and putSCoordGetVField().
|
private |
Definition at line 70 of file VectorFieldInterpolation.h.
Referenced by defineCellPoint100(), and putSCoordGetVField().
|
private |
Definition at line 74 of file VectorFieldInterpolation.h.
Referenced by defineCellPoint101(), and putSCoordGetVField().
|
private |
Definition at line 72 of file VectorFieldInterpolation.h.
Referenced by defineCellPoint110(), and putSCoordGetVField().
|
private |
Definition at line 76 of file VectorFieldInterpolation.h.
Referenced by defineCellPoint111(), and putSCoordGetVField().
|
private |
Definition at line 64 of file VectorFieldInterpolation.h.
Referenced by putSCoordGetVField().
|
private |
Definition at line 80 of file VectorFieldInterpolation.h.
Referenced by putSCoordGetVField().