![]() |
AlmaBTE
1.3
A solver of the space- and time-dependent Boltzmann transport equation for phonons
|
Each object of this class represents a deviational particle in the simulation. More...
#include <deviational_particle.hpp>
Public Member Functions | |
D_particle (const Eigen::VectorXd &_pos, std::size_t _q, std::size_t _alpha, particle_sign _sign, double _t) | |
Basic constructor. | |
D_particle (const D_particle &original) | |
Copy constructor. | |
D_particle & | operator= (D_particle original) |
Assignment operator (copy and swap). | |
Public Attributes | |
Eigen::VectorXd | pos |
Cartesian coordinates of the particle [nm]. | |
std::size_t | q |
q point index in some regular grid. | |
std::size_t | alpha |
Mode index. | |
particle_sign | sign |
Sign of the particle. | |
double | t |
Current time. | |
Friends | |
void | swap (D_particle &a, D_particle &b) |
Swap the data from two objects. More... | |
Each object of this class represents a deviational particle in the simulation.
|
friend |
Swap the data from two objects.
[in,out] | a | - first object |
[in,out] | b | - second object |