Class that helps run simulations of general 1D structures sandwiched between two thermal reservoirs, in the steady-state regime.
More...
|
| Steady_1d_simulator (const std::string &filename, double T_ambient, boost::mpi::communicator comm_) |
| Create an object based on the description contained in an XML file. More...
|
|
int | get_nbins () const |
| Return the number of real-space bins used in this calculation. More...
|
|
double | get_Ttop () const |
| Return the temperature at the top heat reservoir. More...
|
|
double | get_Tbottom () const |
| Return the temperature at the bottom heat reservoir. More...
|
|
std::string | get_layerdescription () const |
| Return a description of the layer structure. More...
|
|
double | get_thickness () const |
| Return the total thickness of the structure. More...
|
|
double | get_jq () const |
| Return the average heat flux per unit area computed in the last simulation. More...
|
|
std::size_t | get_nsurfaces () const |
| Return the number of surfaces at which heat flux is computed. More...
|
|
double | get_surfacelocation (std::size_t nsurf) const |
| Return the location where spectral flux is computed. More...
|
|
Eigen::ArrayXXd | get_flux_at_surface (std::size_t isurf) const |
| Return the computed heat flux density profile at a surface. More...
|
|
int | get_nparticles () const |
| Return the number of particles used for the whole simulation. More...
|
|
void | processSegment (double zetastart, double zetastop, double duration, double w0, double sign, double mu, double sigma) |
| Helper function for processing trajectories.
|
|
Eigen::MatrixXd | run (double T0, int npartial, int Npartial) |
| Perform simulation. More...
|
|
| Steady_1d_simulator (const std::string &filename, boost::mpi::communicator comm_) |
| Create an object based on the description contained in an XML file. More...
|
|
int | get_nbins () const |
| Return the number of real-space bins used in this calculation. More...
|
|
double | get_p0source () const |
| Return the power density of the heat source. More...
|
|
double | get_Tambient () const |
| Return the ambient (heat sink) temperature. More...
|
|
std::string | get_layerdescription () const |
| Return a description of the layer structure. More...
|
|
double | get_thickness () const |
| Return the total thickness of the structure. More...
|
|
std::size_t | get_nsurfaces () const |
| Return the number of surfaces at which heat flux is computed. More...
|
|
double | get_surfacelocation (std::size_t nsurf) const |
| Return the location where spectral flux is computed. More...
|
|
Eigen::ArrayXXd | get_flux_at_surface (std::size_t isurf) const |
| Return the computed heat flux density profile at a surface. More...
|
|
int | get_nparticles () const |
| Return the number of particles used for the whole simulation. More...
|
|
void | processSegment (double zetastart, double zetastop, double duration, double w0, double sign, double mu, double sigma) |
| Helper function for processing trajectories.
|
|
void | build_emission_lookup (emissionID my_ID) |
| Helper function to prebuild the emission lookup map.
|
|
idx_pair | diffuse_reemit (emissionID emID, int omega_idx) |
| Helper function for particle reemission from diffusely scattering walls.
|
|
Eigen::MatrixXd | run (int npartial, int Npartial) |
| Function that runs the simulation.
|
|
Class that helps run simulations of general 1D structures sandwiched between two thermal reservoirs, in the steady-state regime.
Class that helps run simulations of general 1D structures sandwiched between a top power source and bottom heat sink, in the steady-state regime.