AlmaBTE  1.3
A solver of the space- and time-dependent Boltzmann transport equation for phonons
alma::D_particle Class Reference

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_particleoperator= (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...
 

Detailed Description

Each object of this class represents a deviational particle in the simulation.

Friends And Related Function Documentation

◆ swap

void swap ( D_particle a,
D_particle b 
)
friend

Swap the data from two objects.

Parameters
[in,out]a- first object
[in,out]b- second object

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