psim  1.0
Generalized 2D phonon transport using a Monte Carlo method
PhasorBuilder Class Reference

#include <phononBuilder.h>

Inheritance diagram for PhasorBuilder:
[legend]
Collaboration diagram for PhasorBuilder:
[legend]

Public Member Functions

Phonon operator() (double t_eq) noexcept override
 
 SurfaceOriginBuilder (Cell &cell, const EmitSurface &surface, std::size_t num_phonons)
 
- Public Member Functions inherited from SurfaceOriginBuilder
 SurfaceOriginBuilder (Cell &cell, const EmitSurface &surface, std::size_t num_phonons)
 
bool hasPhonons () const noexcept override
 
- Public Member Functions inherited from PhononBuilder
constexpr PhononBuilder () noexcept=default
 
virtual ~PhononBuilder ()=default
 
constexpr PhononBuilder (const PhononBuilder &)=default
 
constexpr PhononBuilder (PhononBuilder &&) noexcept=default
 
PhononBuilderoperator= (const PhononBuilder &)=default
 
PhononBuilderoperator= (PhononBuilder &&)=default
 
std::size_t totalPhonons () const noexcept
 

Additional Inherited Members

- Protected Attributes inherited from SurfaceOriginBuilder
const EmitSurfacesurface_
 
- Protected Attributes inherited from PhononBuilder
std::size_t total_phonons_ { 0 }
 

Member Function Documentation

◆ operator()()

Phonon PhasorBuilder::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

Reimplemented from SurfaceOriginBuilder.

Here is the call graph for this function:

◆ SurfaceOriginBuilder()

SurfaceOriginBuilder::SurfaceOriginBuilder

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