Garfield++ 5.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Go to the source code of this file.
Classes | |
struct | Point3D |
struct | Vector3D |
struct | DirnCosn3D |
Macros | |
#define | VGLOBAL extern |
#define | global2local 1 |
#define | local2global -1 |
Functions | |
VGLOBAL Point3D | CreatePoint3D (double x, double y, double z) |
VGLOBAL double | GetDistancePoint3D (Point3D *a, Point3D *b) |
VGLOBAL Vector3D | CreateDistanceVector3D (Point3D *a, Point3D *b) |
VGLOBAL double | MagVector3D (Vector3D *) |
VGLOBAL Vector3D | UnitVector3D (Vector3D *a) |
VGLOBAL int | PrintPoint3D (Point3D) |
VGLOBAL int | PrintVector3D (Vector3D A) |
VGLOBAL int | PrintDirnCosn3D (DirnCosn3D A) |
VGLOBAL void | VectorRotate_Rect3D (double Xin, double Yin, double Zin, double RotX, double RotY, double RotZ, int Opt, double *Xout, double *Yout, double *Zout) |
VGLOBAL void | CoordRotate_Rect3D (double Xin, double Yin, double Zin, double RotX, double RotY, double RotZ, int Opt, double *Xout, double *Yout, double *Zout) |
VGLOBAL double | Vector3DDotProduct (Vector3D *, Vector3D *) |
VGLOBAL Vector3D | Vector3DCrossProduct (Vector3D *, Vector3D *) |
VGLOBAL Point3D | TranslatePoint3D (Point3D *A, Point3D *Origin, int Sense) |
VGLOBAL Point3D | RotatePoint3D (Point3D *A, DirnCosn3D *Origin, int Sense) |
VGLOBAL Vector3D | RotateVector3D (Vector3D *A, DirnCosn3D *Origin, int Sense) |
VGLOBAL Point3D | TransformPoint3D (Point3D *initial, Point3D *NewOrigin, DirnCosn3D *NewDirns) |
VGLOBAL Point3D | ReflectPoint3DByMirrorAtOrigin (Point3D *p1, Vector3D *n) |
VGLOBAL double ** | MatrixProduct (int NbRows1, int NbCols1, double **Matrix1, int NbRows2, int NbCols2, double **Matrix2) |
#define global2local 1 |
Definition at line 13 of file Vector.h.
Referenced by ContinuityChUp(), ContinuityKnCh(), ReflectOnMirror(), ReflectPrimitiveOnMirror(), SatisfyContinuity(), and Solve().
#define local2global -1 |
Definition at line 14 of file Vector.h.
Referenced by AreaKnChPF(), ContinuityChUp(), ContinuityKnCh(), DiscretizeRectangle(), DiscretizeTriangle(), ElePFAtPoint(), GetFluxGCS(), GetPFGCS(), GetPrimPFGCS(), LineKnChPF(), SatisfyContinuity(), WireKnChPF(), and WtFldPFAtPoint().
#define VGLOBAL extern |
Definition at line 10 of file Vector.h.
Referenced by MatrixProduct().
VGLOBAL void CoordRotate_Rect3D | ( | double | Xin, |
double | Yin, | ||
double | Zin, | ||
double | RotX, | ||
double | RotY, | ||
double | RotZ, | ||
int | Opt, | ||
double * | Xout, | ||
double * | Yout, | ||
double * | Zout ) |
Definition at line 100 of file Vector.c.
Definition at line 192 of file Vector.c.
Referenced by LineKnChPF(), neBEMDiscretize(), PointKnChPF(), and WireKnChPF().
VGLOBAL double ** MatrixProduct | ( | int | NbRows1, |
int | NbCols1, | ||
double ** | Matrix1, | ||
int | NbRows2, | ||
int | NbCols2, | ||
double ** | Matrix2 ) |
VGLOBAL int PrintDirnCosn3D | ( | DirnCosn3D | A | ) |
Definition at line 269 of file Vector.c.
Referenced by DiscretizeTriangle().
Definition at line 465 of file Vector.c.
Referenced by ReflectOnMirror(), and ReflectPrimitiveOnMirror().
VGLOBAL Point3D RotatePoint3D | ( | Point3D * | A, |
DirnCosn3D * | Origin, | ||
int | Sense ) |
Definition at line 339 of file Vector.c.
Referenced by DiscretizeRectangle(), DiscretizeTriangle(), ReflectOnMirror(), ReflectPrimitiveOnMirror(), and TransformPoint3D().
VGLOBAL Vector3D RotateVector3D | ( | Vector3D * | A, |
DirnCosn3D * | Origin, | ||
int | Sense ) |
Definition at line 395 of file Vector.c.
Referenced by AreaKnChPF(), ContinuityChUp(), ContinuityKnCh(), ElePFAtPoint(), GetFluxGCS(), GetPFGCS(), GetPrimPFGCS(), LineKnChPF(), SatisfyContinuity(), Solve(), WireKnChPF(), and WtFldPFAtPoint().
VGLOBAL Point3D TransformPoint3D | ( | Point3D * | initial, |
Point3D * | NewOrigin, | ||
DirnCosn3D * | NewDirns ) |
Definition at line 453 of file Vector.c.
Definition at line 285 of file Vector.c.
Referenced by TransformPoint3D().
Definition at line 227 of file Vector.c.
Referenced by DiscretizeWire(), LineKnChPF(), and WireKnChPF().
Definition at line 246 of file Vector.c.
Referenced by AreaKnChPF(), DiscretizeRectangle(), DiscretizeTriangle(), DiscretizeWire(), LineKnChPF(), and WireKnChPF().
VGLOBAL void VectorRotate_Rect3D | ( | double | Xin, |
double | Yin, | ||
double | Zin, | ||
double | RotX, | ||
double | RotY, | ||
double | RotZ, | ||
int | Opt, | ||
double * | Xout, | ||
double * | Yout, | ||
double * | Zout ) |
Definition at line 17 of file Vector.c.