#include <surface.h>
◆ Line
◆ Point
◆ Vector2D
◆ Surface() [1/3]
Surface::Surface |
( |
Line |
surface_line, |
|
|
Cell & |
cell, |
|
|
double |
specularity, |
|
|
int |
norm_sign |
|
) |
| |
◆ ~Surface()
virtual Surface::~Surface |
( |
| ) |
|
|
virtualdefault |
◆ Surface() [2/3]
Surface::Surface |
( |
const Surface & |
| ) |
|
|
default |
◆ Surface() [3/3]
◆ boundaryHandlePhonon()
void Surface::boundaryHandlePhonon |
( |
Phonon & |
p | ) |
const |
|
noexcept |
◆ contains()
bool Surface::contains |
( |
const Point & |
point | ) |
const |
|
inlinenoexcept |
◆ getLength()
double Surface::getLength |
( |
| ) |
const |
|
inlinenoexcept |
◆ getNormal()
◆ getRandPoint()
Point Surface::getRandPoint |
( |
double |
r1 | ) |
const |
|
inlinenoexcept |
◆ getSpecularity()
double Surface::getSpecularity |
( |
| ) |
const |
|
inlinenoexcept |
◆ getSurfaceLine()
const Line& Surface::getSurfaceLine |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool Surface::operator== |
( |
const Surface & |
rhs | ) |
const |
|
inline |
◆ operator>()
bool Surface::operator> |
( |
const Surface & |
rhs | ) |
const |
|
inline |
◆ redirectPhonon()
void Surface::redirectPhonon |
( |
Phonon & |
p | ) |
const |
|
noexcept |
Redirects the incoming phonon to a random direction that points away from the impacted surface (Diffuse scatter)
- Parameters
-
p | - The phonon that interacts with the surface |
◆ setNormal()
void Surface::setNormal |
( |
Vector2D |
normal | ) |
|
|
inlinenoexcept |
◆ cell_
◆ normal_
◆ specularity_
const double Surface::specularity_ |
|
protected |
The documentation for this class was generated from the following files: