#include <phononBuilder.h>
◆ SurfaceOriginBuilder()
SurfaceOriginBuilder::SurfaceOriginBuilder |
( |
Cell & |
cell, |
|
|
const EmitSurface & |
surface, |
|
|
std::size_t |
num_phonons |
|
) |
| |
◆ hasPhonons()
bool SurfaceOriginBuilder::hasPhonons |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ operator()()
Phonon SurfaceOriginBuilder::operator() |
( |
double |
t_eq | ) |
|
|
overridevirtualnoexcept |
Caller must verify the phonon builder has phonons to build by using the hasPhonons() function before calling this function.
- Parameters
-
t_eq | - Equilibrium temperature of the system |
- Returns
- A phonon that is created according to the builder specifications
Implements PhononBuilder.
Reimplemented in PhasorBuilder.
◆ surface_
The documentation for this class was generated from the following files: