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

#include <modelSimulator.h>

Public Types

using BuilderObj = std::variant< CellOriginBuilder, SurfaceOriginBuilder, PhasorBuilder >
 

Public Member Functions

 ModelSimulator (std::size_t measurement_steps, double simulation_time, bool phasor_sim)
 
void runSimulation (double t_eq)
 
void initPhononBuilders (std::vector< Cell > &cells, double t_eq, double eff_energy) noexcept
 
std::optional< double > nextImpact (Phonon &p, double time) const noexcept
 
void reset () noexcept
 
void setStepAdjustment (std::size_t step_adjustment)
 

Member Typedef Documentation

◆ BuilderObj

Constructor & Destructor Documentation

◆ ModelSimulator()

ModelSimulator::ModelSimulator ( std::size_t  measurement_steps,
double  simulation_time,
bool  phasor_sim 
)

Member Function Documentation

◆ initPhononBuilders()

void ModelSimulator::initPhononBuilders ( std::vector< Cell > &  cells,
double  t_eq,
double  eff_energy 
)
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nextImpact()

std::optional< double > ModelSimulator::nextImpact ( Phonon p,
double  time 
) const
noexcept

◆ reset()

void ModelSimulator::reset ( )
inlinenoexcept

◆ runSimulation()

void ModelSimulator::runSimulation ( double  t_eq)
Here is the caller graph for this function:

◆ setStepAdjustment()

void ModelSimulator::setStepAdjustment ( std::size_t  step_adjustment)
inline
Here is the caller graph for this function:

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