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.
Macros | |
#define | INTFACEGLOBAL extern |
#define | neBEMtwopi 6.283185307179586476925287 |
#define | neBEMrtod 57.2957795 |
#define | MODULUS(p) |
Functions | |
INTFACEGLOBAL double | neBEMTimeElapsed (clock_t, clock_t) |
INTFACEGLOBAL int | neBEMMessage (const char *message) |
INTFACEGLOBAL int | neBEMGetNbOfLines (const char *fname) |
INTFACEGLOBAL double | neBEMChkInPoly (int nvert, Point3D node[], Point3D pt) |
INTFACEGLOBAL int | neBEMSetDefaults (void) |
INTFACEGLOBAL int | ReadInitFile (char filename[]) |
INTFACEGLOBAL int | neBEMGetInputsFromFiles (void) |
INTFACEGLOBAL int | neBEMInitialize (void) |
INTFACEGLOBAL int | neBEMReadGeometry (void) |
INTFACEGLOBAL int | neBEMGetNbPrimitives (void) |
INTFACEGLOBAL int | neBEMGetPrimitive (int prim, int *nvertex, double xvert[], double yvert[], double zvert[], double *xnorm, double *ynorm, double *znorm, int *volref1, int *volref2) |
INTFACEGLOBAL int | neBEMVolumeDescription (int ivol, int *shape, int *material, double *epsilon, double *potential, double *charge, int *boundarytype) |
INTFACEGLOBAL int | neBEMVolumePoint (double x, double y, double z) |
INTFACEGLOBAL void | neBEMVolumePrimitives (int volume, int *nprim, int primlist[]) |
INTFACEGLOBAL int | neBEMGetPeriodicities (int prim, int *ix, int *jx, double *sx, int *iy, int *jy, double *sy, int *iz, int *jz, double *sz) |
INTFACEGLOBAL int | neBEMGetMirror (int prim, int *ix, int *jx, double *sx, int *iy, int *jy, double *sy, int *iz, int *jz, double *sz) |
INTFACEGLOBAL 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) |
INTFACEGLOBAL int | neBEMDiscretize (int **elementNbs) |
INTFACEGLOBAL int | neBEMBoundaryInitialConditions (void) |
INTFACEGLOBAL int | neBEMSolve (void) |
INTFACEGLOBAL int | neBEMPF (Point3D *, double *, Vector3D *) |
INTFACEGLOBAL double | neBEMVolumeCharge (int volume) |
INTFACEGLOBAL int | neBEMPrepareWeightingField (int NbPrimsWtField, int PrimListWtField[]) |
INTFACEGLOBAL void | neBEMDeleteWeightingField (int IdWtField) |
INTFACEGLOBAL void | neBEMDeleteAllWeightingFields (void) |
INTFACEGLOBAL double | neBEMWeightingField (Point3D *point, Vector3D *field, int IdWtField) |
INTFACEGLOBAL int | neBEMEnd (void) |
INTFACEGLOBAL int | CreateDirStr (void) |
INTFACEGLOBAL int | WritePrimitives (void) |
INTFACEGLOBAL int | ReadPrimitives (void) |
INTFACEGLOBAL int | WriteElements (void) |
INTFACEGLOBAL int | ReadElements (void) |
Variables | |
INTFACEGLOBAL clock_t | startClock |
INTFACEGLOBAL clock_t | stopClock |
INTFACEGLOBAL int | neBEMState |
INTFACEGLOBAL int | OptDeviceFile |
INTFACEGLOBAL char | DeviceInputFile [256] |
INTFACEGLOBAL int | NbThreads |
INTFACEGLOBAL int | OptPrintPrimaryDetails |
INTFACEGLOBAL int | OptPrintVolumeDetails |
INTFACEGLOBAL int | OptGnuplot |
INTFACEGLOBAL int | OptGnuplotPrimitives |
INTFACEGLOBAL int | OptGnuplotElements |
INTFACEGLOBAL FILE * | fgnuPrim |
INTFACEGLOBAL FILE * | fgnuElem |
INTFACEGLOBAL FILE * | fgnuMesh |
INTFACEGLOBAL int | OptPrintVertexAndNormal |
INTFACEGLOBAL int | OptPrimitiveFiles |
INTFACEGLOBAL int | OptElementFiles |
INTFACEGLOBAL int | neBEMPFCallCntr |
INTFACEGLOBAL int | OptReuseDir |
#define INTFACEGLOBAL extern |
Definition at line 7 of file neBEMInterface.h.
Referenced by neBEMChkInPoly(), neBEMGetBoundingPlanes(), neBEMGetInputsFromFiles(), neBEMGetMirror(), neBEMGetNbOfLines(), neBEMGetNbPrimitives(), neBEMGetPeriodicities(), neBEMGetPrimitive(), neBEMSetDefaults(), neBEMVolumeDescription(), neBEMVolumePoint(), neBEMVolumePrimitives(), and ReadInitFile().
#define MODULUS | ( | p | ) |
Definition at line 35 of file neBEMInterface.h.
Referenced by neBEMChkInPoly().
#define neBEMrtod 57.2957795 |
Definition at line 34 of file neBEMInterface.h.
#define neBEMtwopi 6.283185307179586476925287 |
Definition at line 33 of file neBEMInterface.h.
Referenced by InitChargingUp(), and neBEMChkInPoly().
INTFACEGLOBAL int CreateDirStr | ( | void | ) |
Definition at line 2702 of file neBEMInterface.c.
Referenced by neBEMInitialize().
INTFACEGLOBAL int neBEMBoundaryInitialConditions | ( | void | ) |
Definition at line 1756 of file neBEMInterface.c.
INTFACEGLOBAL double neBEMChkInPoly | ( | int | nvert, |
Point3D | node[], | ||
Point3D | pt ) |
INTFACEGLOBAL void neBEMDeleteAllWeightingFields | ( | void | ) |
Definition at line 2593 of file neBEMInterface.c.
INTFACEGLOBAL void neBEMDeleteWeightingField | ( | int | IdWtField | ) |
Definition at line 2587 of file neBEMInterface.c.
INTFACEGLOBAL int neBEMDiscretize | ( | int ** | elementNbs | ) |
Definition at line 1454 of file neBEMInterface.c.
INTFACEGLOBAL int neBEMEnd | ( | void | ) |
Definition at line 2684 of file neBEMInterface.c.
INTFACEGLOBAL 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 ) |
INTFACEGLOBAL int neBEMGetInputsFromFiles | ( | void | ) |
INTFACEGLOBAL int neBEMGetMirror | ( | int | prim, |
int * | ix, | ||
int * | jx, | ||
double * | sx, | ||
int * | iy, | ||
int * | jy, | ||
double * | sy, | ||
int * | iz, | ||
int * | jz, | ||
double * | sz ) |
INTFACEGLOBAL int neBEMGetNbOfLines | ( | const char * | fname | ) |
INTFACEGLOBAL int neBEMGetNbPrimitives | ( | void | ) |
INTFACEGLOBAL int neBEMGetPeriodicities | ( | int | prim, |
int * | ix, | ||
int * | jx, | ||
double * | sx, | ||
int * | iy, | ||
int * | jy, | ||
double * | sy, | ||
int * | iz, | ||
int * | jz, | ||
double * | sz ) |
INTFACEGLOBAL int neBEMGetPrimitive | ( | int | prim, |
int * | nvertex, | ||
double | xvert[], | ||
double | yvert[], | ||
double | zvert[], | ||
double * | xnorm, | ||
double * | ynorm, | ||
double * | znorm, | ||
int * | volref1, | ||
int * | volref2 ) |
INTFACEGLOBAL int neBEMInitialize | ( | void | ) |
Definition at line 39 of file neBEMInterface.c.
INTFACEGLOBAL int neBEMMessage | ( | const char * | message | ) |
Definition at line 2855 of file neBEMInterface.c.
Referenced by AnalyzePrimitive(), ComputeSolution(), CreateDirStr(), CreateFastVolElePF(), CreateWtFldFastVolPF(), DiscretizeRectangle(), DiscretizeTriangle(), DiscretizeWire(), FastKnChPFAtPoint(), FastPFAtPoint(), InitChargingUp(), InitialConditions(), InitKnownCharges(), InvertMatrix(), LHMatrix(), MapFPR(), neBEMBoundaryInitialConditions(), neBEMDiscretize(), neBEMInitialize(), neBEMPF(), neBEMPrepareWeightingField(), neBEMReadGeometry(), neBEMSolve(), neBEMWeightingField(), ReadElements(), neBEM::ReadInitFile(), ReadInvertedMatrix(), ReadPrimitives(), ReadSolution(), Solve(), SurfaceElements(), VoxelFPR(), WireElements(), WriteElements(), WritePrimitives(), and WtFldFastPFAtPoint().
INTFACEGLOBAL int neBEMPF | ( | Point3D * | point, |
double * | potential, | ||
Vector3D * | field ) |
Definition at line 2096 of file neBEMInterface.c.
INTFACEGLOBAL int neBEMPrepareWeightingField | ( | int | NbPrimsWtField, |
int | PrimListWtField[] ) |
Definition at line 2141 of file neBEMInterface.c.
INTFACEGLOBAL int neBEMReadGeometry | ( | void | ) |
Definition at line 307 of file neBEMInterface.c.
INTFACEGLOBAL int neBEMSetDefaults | ( | void | ) |
INTFACEGLOBAL int neBEMSolve | ( | void | ) |
Definition at line 1811 of file neBEMInterface.c.
INTFACEGLOBAL double neBEMTimeElapsed | ( | clock_t | t0, |
clock_t | t1 ) |
Definition at line 3233 of file neBEMInterface.c.
Referenced by ComputeSolution(), InitialConditions(), InvertMatrix(), neBEMBoundaryInitialConditions(), neBEMDiscretize(), neBEMPrepareWeightingField(), neBEMReadGeometry(), and neBEMSolve().
INTFACEGLOBAL double neBEMVolumeCharge | ( | int | volume | ) |
Definition at line 2639 of file neBEMInterface.c.
INTFACEGLOBAL int neBEMVolumeDescription | ( | int | ivol, |
int * | shape, | ||
int * | material, | ||
double * | epsilon, | ||
double * | potential, | ||
double * | charge, | ||
int * | boundarytype ) |
INTFACEGLOBAL int neBEMVolumePoint | ( | double | x, |
double | y, | ||
double | z ) |
INTFACEGLOBAL void neBEMVolumePrimitives | ( | int | volume, |
int * | nprim, | ||
int | primlist[] ) |
INTFACEGLOBAL double neBEMWeightingField | ( | Point3D * | point, |
Vector3D * | field, | ||
int | IdWtField ) |
Definition at line 2605 of file neBEMInterface.c.
INTFACEGLOBAL int ReadElements | ( | void | ) |
Definition at line 3108 of file neBEMInterface.c.
Referenced by neBEMDiscretize().
INTFACEGLOBAL int ReadInitFile | ( | char | filename[] | ) |
INTFACEGLOBAL int ReadPrimitives | ( | void | ) |
Definition at line 3004 of file neBEMInterface.c.
Referenced by neBEMReadGeometry().
INTFACEGLOBAL int WriteElements | ( | void | ) |
Definition at line 2910 of file neBEMInterface.c.
Referenced by neBEMDiscretize().
INTFACEGLOBAL int WritePrimitives | ( | void | ) |
Definition at line 2861 of file neBEMInterface.c.
Referenced by neBEMReadGeometry().
INTFACEGLOBAL char DeviceInputFile[256] |
Definition at line 45 of file neBEMInterface.h.
Referenced by neBEMInitialize(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL FILE * fgnuElem |
Definition at line 55 of file neBEMInterface.h.
Referenced by DiscretizeRectangle(), DiscretizeTriangle(), and neBEMDiscretize().
INTFACEGLOBAL FILE * fgnuMesh |
Definition at line 55 of file neBEMInterface.h.
Referenced by DiscretizeRectangle(), DiscretizeTriangle(), and neBEMDiscretize().
INTFACEGLOBAL FILE* fgnuPrim |
Definition at line 55 of file neBEMInterface.h.
Referenced by DiscretizeRectangle(), DiscretizeTriangle(), DiscretizeWire(), and neBEMDiscretize().
INTFACEGLOBAL int NbThreads |
Definition at line 49 of file neBEMInterface.h.
Referenced by neBEMInitialize().
INTFACEGLOBAL int neBEMPFCallCntr |
Definition at line 109 of file neBEMInterface.h.
INTFACEGLOBAL int neBEMState |
Definition at line 23 of file neBEMInterface.h.
Referenced by DecomposeMatrixSVD(), InvertMatrix(), LHMatrix(), neBEMBoundaryInitialConditions(), neBEMDiscretize(), neBEMInitialize(), neBEMPF(), neBEMPrepareWeightingField(), neBEMReadGeometry(), neBEM::neBEMSetDefaults(), neBEMSolve(), neBEMWeightingField(), ReadElements(), ReadInvertedMatrix(), ReadPrimitives(), ReadSolution(), RHVector(), and Solve().
INTFACEGLOBAL int OptDeviceFile |
Definition at line 44 of file neBEMInterface.h.
Referenced by neBEMInitialize(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL int OptElementFiles |
Definition at line 98 of file neBEMInterface.h.
Referenced by DiscretizeRectangle(), DiscretizeTriangle(), DiscretizeWire(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL int OptGnuplot |
Definition at line 54 of file neBEMInterface.h.
Referenced by DiscretizeRectangle(), DiscretizeTriangle(), DiscretizeWire(), neBEMDiscretize(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL int OptGnuplotElements |
Definition at line 54 of file neBEMInterface.h.
Referenced by DiscretizeRectangle(), DiscretizeTriangle(), DiscretizeWire(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL int OptGnuplotPrimitives |
Definition at line 54 of file neBEMInterface.h.
Referenced by DiscretizeRectangle(), DiscretizeTriangle(), DiscretizeWire(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL int OptPrimitiveFiles |
Definition at line 62 of file neBEMInterface.h.
Referenced by DiscretizeRectangle(), DiscretizeTriangle(), DiscretizeWire(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL int OptPrintPrimaryDetails |
Definition at line 52 of file neBEMInterface.h.
Referenced by neBEMReadGeometry(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL int OptPrintVertexAndNormal |
Definition at line 62 of file neBEMInterface.h.
Referenced by DiscretizeRectangle(), DiscretizeTriangle(), DiscretizeWire(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL int OptPrintVolumeDetails |
Definition at line 52 of file neBEMInterface.h.
Referenced by neBEMReadGeometry(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL int OptReuseDir |
Definition at line 142 of file neBEMInterface.h.
Referenced by CreateDirStr(), neBEM::neBEMSetDefaults(), and neBEM::ReadInitFile().
INTFACEGLOBAL clock_t startClock |
Definition at line 19 of file neBEMInterface.h.
Referenced by ComputeSolution(), InitialConditions(), neBEMBoundaryInitialConditions(), neBEMDiscretize(), and neBEMReadGeometry().
INTFACEGLOBAL clock_t stopClock |
Definition at line 19 of file neBEMInterface.h.
Referenced by ComputeSolution(), InitialConditions(), neBEMBoundaryInitialConditions(), neBEMDiscretize(), and neBEMReadGeometry().