Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Heed::BGMesh Class Reference

#include <BGMesh.h>

+ Inheritance diagram for Heed::BGMesh:

Public Member Functions

 BGMesh (void)
 
 BGMesh (double fxmin, double fxmax, long fq)
 
virtual void print (std::ostream &file, int l) const
 
 macro_copy_total (BGMesh)
 

Public Attributes

double xmin
 
double xmax
 
long q
 
DynLinArr< double > x
 

Detailed Description

Definition at line 11 of file BGMesh.h.

Constructor & Destructor Documentation

◆ BGMesh() [1/2]

Heed::BGMesh::BGMesh ( void  )
inline

Definition at line 13 of file BGMesh.h.

13: xmin(0.0), xmax(0.0), q(0), x(0) {}
long q
Definition: BGMesh.h:17
double xmin
Definition: BGMesh.h:15
double xmax
Definition: BGMesh.h:16
DynLinArr< double > x
Definition: BGMesh.h:18

◆ BGMesh() [2/2]

Heed::BGMesh::BGMesh ( double  fxmin,
double  fxmax,
long  fq 
)

Definition at line 5 of file BGMesh.cpp.

6 : xmin(fxmin), xmax(fxmax), q(fq) {
7 x = make_log_mesh(fxmin, fxmax, fq);
8}
DynLinArr< double > make_log_mesh(double fxmin, double fxmax, long fq)
Definition: BGMesh.cpp:28

Member Function Documentation

◆ macro_copy_total()

Heed::BGMesh::macro_copy_total ( BGMesh  )

◆ print()

void Heed::BGMesh::print ( std::ostream &  file,
int  l 
) const
virtual

Definition at line 10 of file BGMesh.cpp.

10 {
11 if (l <= 0) return;
12 Ifile << "BGMesh (l=" << l << "): \n";
13 indn.n += 2;
14 Ifile << "xmin=" << xmin << " xmax=" << xmax << " quantity of intervals=" << q
15 << '\n';
16 if (l > 1) {
17 Iprintn(mcout, x);
18 }
19 indn.n -= 2;
20}
indentation indn
Definition: prstream.cpp:13
#define mcout
Definition: prstream.h:133
#define Ifile
Definition: prstream.h:207
#define Iprintn(file, name)
Definition: prstream.h:216

Referenced by Heed::operator<<().

Member Data Documentation

◆ q

long Heed::BGMesh::q

Definition at line 17 of file BGMesh.h.

Referenced by print().

◆ x

DynLinArr<double> Heed::BGMesh::x

Definition at line 18 of file BGMesh.h.

Referenced by BGMesh(), and print().

◆ xmax

double Heed::BGMesh::xmax

Definition at line 16 of file BGMesh.h.

Referenced by print().

◆ xmin

double Heed::BGMesh::xmin

Definition at line 15 of file BGMesh.h.

Referenced by print().


The documentation for this class was generated from the following files: