GeFiCa
Germanium detector Field Calculator
Rho.h
Go to the documentation of this file.
1 #ifndef GeFiCa_Rho
2 #define GeFiCa_Rho
3 
4 #include "Grid.h"
5 namespace GeFiCa { class Rho; }
9 class GeFiCa::Rho : public Grid
10 {
11  public:
12  Rho(size_t n1=101) :
13  Grid(n1) { fName="rho"; fTitle="1D cylindrical coordinates"; }
14  void SetupWith(Detector &detector);
15  void SolveAnalytically();
16  double GetC();
17  protected:
18  void OverRelaxAt(size_t idx);
19  ClassDef(Rho,1);
20 };
21 #endif
Rho(size_t n1=101)
Definition: Rho.h:12
Data structure of a electric field grid.
Definition: Grid.h:50
ClassDef(Rho, 1)
1D cylindrical coordinate.
Definition: Rho.h:9
double GetC()
Definition: Rho.cc:53
Detector & crystal properties.
Definition: Detector.h:32
void OverRelaxAt(size_t idx)
Over relax potential Vp[.
Definition: Rho.cc:69
The only namespace in GeFiCa.
Definition: Detector.h:6
void SetupWith(Detector &detector)
Fix potentials on boundaries based on.
Definition: Rho.cc:6
void SolveAnalytically()
Definition: Rho.cc:38