3 #define BOOST_DISABLE_ASSERTS
9 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
10 #pragma GCC diagnostic push
11 #pragma GCC system_header
14 #include "boost/multi_array.hpp"
16 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
17 #pragma GCC diagnostic pop
66 const QList<int>& trapIDs = QList<int>(),
67 const QList<double>& trapPotentials = QList<double>()
144 double gaussD(
int site_i);
160 #endif // POTENTIALNEW_H
void setPotentialLinear()
Adds a linear potential calcualted from voltage.left and voltage.right along the x-direction.
void setPotentialZero()
sets the value of the potential to zero at every grid site
void setPotentialGate()
Adds a linear potential calculated from slope.z along the z-direction.
void setPotentialTraps(const QList< int > &trapIDs=QList< int >(), const QList< double > &trapPotentials=QList< double >())
Adds shifts to the potential at the various sites.
double gaussE(int site_i)
calculates Coulomb potential from electrons at specific grid site, assuming gaussians ...
double coulombH(int site_i)
calculates Coulomb potential from holes at specific grid site
double coulombE(int site_i)
calculates Coulomb potential from electrons at specific grid site
double gaussImageH(int site)
calculates Coulomb image-potential from holes at specific grid site, assuming gaussians ...
A class to hold all objects in a simulation.
Definition: world.h:51
double coulombD(int site_i)
calculates Coulomb potential from charged defects at specific grid site
Potential(World &world, QObject *parent=0)
Potential Create the potential.
void updateCouplingConstants()
pre-calculates coupling constants
double gaussImageE(int site_i)
calculates Coulomb image-potential from electrons at specific grid site, assuming gaussians ...
World & m_world
reference to the World
Definition: potential.h:156
double gaussH(int site)
calculates Coulomb potential from holes at specific grid site, assuming gaussians ...
A class to calculate the potential.
Definition: potential.h:31
double gaussD(int site_i)
calculates Coulomb potential from charged defects at specific grid site, assuming gaussians ...
double coulombImageD(int site_i)
calculates Coulomb image-potential from charged defects at specific grid site
double coulombImageE(int site_i)
calculates Coulomb image-potential from electrons at specific grid site
void precalculateArrays()
pre-calculates r2, r, and 1/r
double gaussImageD(int site_i)
calculates Coulomb image-potential from charged defects at specific grid site, assuming gaussians ...
double coulombImageH(int site_i)
calculates Coulomb image-potential from holes at specific grid site