Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
BGMesh.h
Go to the documentation of this file.
1#ifndef BGMESH_H
2#define BGMESH_H
3
5
6namespace Heed {
7
8// Here q is the total number of points (not interval).
9// Minimum one interval and two points
10
11class BGMesh : public RegPassivePtr {
12 public:
13 BGMesh(void) : xmin(0.0), xmax(0.0), q(0), x(0) {}
14 BGMesh(double fxmin, double fxmax, long fq);
15 double xmin;
16 double xmax;
17 long q;
19 virtual void print(std::ostream& file, int l) const;
21
22};
23std::ostream& operator<<(std::ostream& file, const BGMesh& bgm);
24
25DynLinArr<double> make_log_mesh(double fxmin, double fxmax, long fq);
26
27}
28
29#endif
BGMesh(void)
Definition: BGMesh.h:13
virtual void print(std::ostream &file, int l) const
Definition: BGMesh.cpp:10
long q
Definition: BGMesh.h:17
double xmin
Definition: BGMesh.h:15
macro_copy_total(BGMesh)
double xmax
Definition: BGMesh.h:16
DynLinArr< double > x
Definition: BGMesh.h:18
Definition: BGMesh.cpp:3
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)
Definition: BGMesh.cpp:22
DynLinArr< double > make_log_mesh(double fxmin, double fxmax, long fq)
Definition: BGMesh.cpp:28