Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Functions | |
int | neBEMSetDefaults (void) |
Assign default values to some of the important global variables. | |
int | ReadInitFile (char filename[]) |
int | neBEMGetInputsFromFiles (void) |
Do-nothing function (no file inputs). | |
int | neBEMGetNbPrimitives () |
Return the number of primitives. | |
int | neBEMGetPrimitive (int prim, int *nvertex, double xvert[], double yvert[], double zvert[], double *xnorm, double *ynorm, double *znorm, int *volref1, int *volref2) |
Return one primitive at a time. | |
int | neBEMGetPeriodicities (int, int *ix, int *jx, double *sx, int *iy, int *jy, double *sy, int *iz, int *jz, double *sz) |
int | neBEMGetMirror (int, int *ix, int *jx, double *sx, int *iy, int *jy, double *sy, int *iz, int *jz, double *sz) |
int | neBEMGetBoundingPlanes (int *ixmin, double *cxmin, double *vxmin, int *ixmax, double *cxmax, double *vxmax, int *iymin, double *cymin, double *vymin, int *iymax, double *cymax, double *vymax, int *izmin, double *czmin, double *vzmin, int *izmax, double *czmax, double *vzmax) |
int | neBEMVolumeDescription (int vol, int *shape, int *material, double *epsilon, double *potential, double *charge, int *boundarytype) |
Return information about a volume. | |
int | neBEMVolumePoint (double x, double y, double z) |
Return the volume in which a point is located. | |
void | neBEMVolumePrimitives (int, int *, int[]) |
int neBEM::neBEMGetBoundingPlanes | ( | int * | ixmin, |
double * | cxmin, | ||
double * | vxmin, | ||
int * | ixmax, | ||
double * | cxmax, | ||
double * | vxmax, | ||
int * | iymin, | ||
double * | cymin, | ||
double * | vymin, | ||
int * | iymax, | ||
double * | cymax, | ||
double * | vymax, | ||
int * | izmin, | ||
double * | czmin, | ||
double * | vzmin, | ||
int * | izmax, | ||
double * | czmax, | ||
double * | vzmax | ||
) |
Return infinite (bounding) conductors if any. ixmin=0: lower x-plane does not exist ixmin=1: lower x-plane does exist cxmin: coordinate of lower x-plane vxmin: potential of lower x-plane Similar for ixmax, iymin, iymax, izmin, izmax
Definition at line 308 of file NeBemInterface.cpp.
Referenced by neBEMReadGeometry().
int neBEM::neBEMGetInputsFromFiles | ( | void | ) |
Do-nothing function (no file inputs).
Definition at line 189 of file NeBemInterface.cpp.
Referenced by neBEMInitialize().
int neBEM::neBEMGetMirror | ( | int | , |
int * | ix, | ||
int * | jx, | ||
double * | sx, | ||
int * | iy, | ||
int * | jy, | ||
double * | sy, | ||
int * | iz, | ||
int * | jz, | ||
double * | sz | ||
) |
Return information about mirror periodicity. ix: 0 = no mirror in x, 1 = producing charge density of opposite sign (infinite cond plane) 2 = producing charge density of same sign jx: not used at present sx: x distance of the mirror from origin
Definition at line 281 of file NeBemInterface.cpp.
Referenced by neBEMReadGeometry().
int neBEM::neBEMGetNbPrimitives | ( | void | ) |
Return the number of primitives.
Definition at line 192 of file NeBemInterface.cpp.
Referenced by neBEMReadGeometry().
int neBEM::neBEMGetPeriodicities | ( | int | , |
int * | ix, | ||
int * | jx, | ||
double * | sx, | ||
int * | iy, | ||
int * | jy, | ||
double * | sy, | ||
int * | iz, | ||
int * | jz, | ||
double * | sz | ||
) |
Return information about periodicities. ix: 0 = no periodicity in x, 1 = simple periodicity of length sx, 2 = mirror periodicity of length sx, 3 = axial periodicity around x with sector angle sx, 4 = rotational symmetry around x jx: number of periodic copies internally in neBEM
Definition at line 237 of file NeBemInterface.cpp.
Referenced by neBEMReadGeometry().
int neBEM::neBEMGetPrimitive | ( | int | prim, |
int * | nvertex, | ||
double | xvert[], | ||
double | yvert[], | ||
double | zvert[], | ||
double * | xnorm, | ||
double * | ynorm, | ||
double * | znorm, | ||
int * | volref1, | ||
int * | volref2 | ||
) |
Return one primitive at a time.
Definition at line 198 of file NeBemInterface.cpp.
Referenced by neBEMReadGeometry().
int neBEM::neBEMSetDefaults | ( | void | ) |
Assign default values to some of the important global variables.
Definition at line 13 of file NeBemInterface.cpp.
Referenced by neBEMInitialize().
int neBEM::neBEMVolumeDescription | ( | int | vol, |
int * | shape, | ||
int * | material, | ||
double * | epsilon, | ||
double * | potential, | ||
double * | charge, | ||
int * | boundarytype | ||
) |
Return information about a volume.
Definition at line 378 of file NeBemInterface.cpp.
Referenced by neBEMReadGeometry(), and ReadPrimitives().
int neBEM::neBEMVolumePoint | ( | double | x, |
double | y, | ||
double | z | ||
) |
Return the volume in which a point is located.
Definition at line 392 of file NeBemInterface.cpp.
void neBEM::neBEMVolumePrimitives | ( | int | , |
int * | , | ||
int | [] | ||
) |
Return the primitives for a volume. TODO! Do we need this?
Definition at line 400 of file NeBemInterface.cpp.
int neBEM::ReadInitFile | ( | char | filename[] | ) |
Definition at line 81 of file NeBemInterface.cpp.