#include <phonon.h>
|
| Phonon (signed char sign, double lifetime, Cell *cell) |
|
signed char | getSign () const noexcept |
|
std::pair< double, double > | getPosition () const noexcept |
|
std::pair< double, double > | getVelVector () const noexcept |
|
std::pair< double, double > | getDirection () const noexcept |
|
std::size_t | getFreqIndex () const noexcept |
|
double | getFreq () const noexcept |
|
Polarization | getPolar () const noexcept |
|
double | getLifetime () const noexcept |
|
std::size_t | getLifeStep () const noexcept |
|
bool | outsideCell () const noexcept |
|
void | scatterUpdate (std::size_t freq_index, double freq, double velocity, Polarization polar) noexcept |
|
void | setPosition (double px, double py) noexcept |
|
void | setDirection (double dx, double dy) noexcept |
|
void | setCell (Cell *cell) noexcept |
|
void | setLifeStep (std::size_t step) |
|
void | scatterUpdate () |
|
void | drift (double time) noexcept |
|
void | setRandDirection () noexcept |
|
std::size_t | getCellSensorID () const |
|
std::size_t | getCellMaterialID () const |
|
double | getCellHeatCapacityAtFreq (std::size_t index) const |
|
RelaxRates | getRelaxRates (std::size_t step) const |
|
std::array< Geometry::Line, 3 > | getCellBoundaryLines () const |
|
void | handleSurfaceCollision (const Geometry::Point &poi, double step_time) |
|
void | updateCellHeatParams (std::size_t step) const |
|
void | setRandPoint (double r1, double r2) |
|
◆ RelaxRates
◆ Polarization
◆ Phonon()
Phonon::Phonon |
( |
signed char |
sign, |
|
|
double |
lifetime, |
|
|
Cell * |
cell |
|
) |
| |
◆ drift()
void Phonon::drift |
( |
double |
time | ) |
|
|
noexcept |
◆ getCellBoundaryLines()
std::array< Geometry::Line, 3 > Phonon::getCellBoundaryLines |
( |
| ) |
const |
◆ getCellHeatCapacityAtFreq()
double Phonon::getCellHeatCapacityAtFreq |
( |
std::size_t |
index | ) |
const |
◆ getCellMaterialID()
std::size_t Phonon::getCellMaterialID |
( |
| ) |
const |
◆ getCellSensorID()
std::size_t Phonon::getCellSensorID |
( |
| ) |
const |
◆ getDirection()
std::pair<double, double> Phonon::getDirection |
( |
| ) |
const |
|
inlinenoexcept |
◆ getFreq()
double Phonon::getFreq |
( |
| ) |
const |
|
inlinenoexcept |
◆ getFreqIndex()
std::size_t Phonon::getFreqIndex |
( |
| ) |
const |
|
inlinenoexcept |
◆ getLifeStep()
std::size_t Phonon::getLifeStep |
( |
| ) |
const |
|
inlinenoexcept |
◆ getLifetime()
double Phonon::getLifetime |
( |
| ) |
const |
|
inlinenoexcept |
◆ getPolar()
◆ getPosition()
std::pair<double, double> Phonon::getPosition |
( |
| ) |
const |
|
inlinenoexcept |
◆ getRelaxRates()
◆ getSign()
signed char Phonon::getSign |
( |
| ) |
const |
|
inlinenoexcept |
◆ getVelVector()
std::pair<double, double> Phonon::getVelVector |
( |
| ) |
const |
|
inlinenoexcept |
◆ handleSurfaceCollision()
void Phonon::handleSurfaceCollision |
( |
const Geometry::Point & |
poi, |
|
|
double |
step_time |
|
) |
| |
◆ outsideCell()
bool Phonon::outsideCell |
( |
| ) |
const |
|
inlinenoexcept |
◆ scatterUpdate() [1/2]
void Phonon::scatterUpdate |
( |
| ) |
|
◆ scatterUpdate() [2/2]
void Phonon::scatterUpdate |
( |
std::size_t |
freq_index, |
|
|
double |
freq, |
|
|
double |
velocity, |
|
|
Phonon::Polarization |
polar |
|
) |
| |
|
noexcept |
◆ setCell()
void Phonon::setCell |
( |
Cell * |
cell | ) |
|
|
inlinenoexcept |
◆ setDirection()
void Phonon::setDirection |
( |
double |
dx, |
|
|
double |
dy |
|
) |
| |
|
inlinenoexcept |
◆ setLifeStep()
void Phonon::setLifeStep |
( |
std::size_t |
step | ) |
|
|
inline |
◆ setPosition()
void Phonon::setPosition |
( |
double |
px, |
|
|
double |
py |
|
) |
| |
|
inlinenoexcept |
◆ setRandDirection()
void Phonon::setRandDirection |
( |
| ) |
|
|
noexcept |
◆ setRandPoint()
void Phonon::setRandPoint |
( |
double |
r1, |
|
|
double |
r2 |
|
) |
| |
◆ updateCellHeatParams()
void Phonon::updateCellHeatParams |
( |
std::size_t |
step | ) |
const |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Phonon & |
phonon |
|
) |
| |
|
friend |
◆ NUM_RELAX_RATES
constexpr std::size_t Phonon::NUM_RELAX_RATES = 3 |
|
staticconstexpr |
The documentation for this class was generated from the following files: