MCPlusPlus
A Monte Carlo C++ code for radiative transport
Public Member Functions | Public Attributes | List of all members
MCPP::Material Class Reference

The Material class describes a material. More...

#include <MCPlusPlus/material.h>

+ Inheritance diagram for MCPP::Material:
+ Collaboration diagram for MCPP::Material:

Public Member Functions

void setWavelength (double um)
 Sets the refractive index and the speed of light in this medium according to the given wavelength. More...
 

Public Attributes

double g
 scattering anisotropy factor $ g = \left\langle \cos \theta \right \rangle $
 
double ls
 scattering mean free path
 
double n
 refractive index ( $ n \in \mathbb{R} $)
 
double v
 phase velocity More...
 

Detailed Description

The Material class describes a material.

Specialized implementations should reimplement dispersionRelation()

Member Function Documentation

◆ setWavelength()

void Material::setWavelength ( double  um)

Sets the refractive index and the speed of light in this medium according to the given wavelength.

Parameters
umwavelength in micrometers

Member Data Documentation

◆ v

double MCPP::Material::v

phase velocity

Note
please beware of the difference between phase, group and energy velocity

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