spdcalc 2.0.1

SPDCalc, the Spontaneous Parametric Downconversion Calculator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Temperature dependence of refractive materials
extern crate nalgebra as na;
use crate::crystal::Indices;
use dim::ucum::Kelvin;

pub mod none;
pub use none::*;

pub mod standard;
pub use standard::*;

/// The kind of temperature dependence to apply when computing
/// refractive indices
pub trait TemperatureDependence {
  /// Apply the temperature dependence to the indices
  fn apply(&self, n: Indices, temperature: Kelvin<f64>) -> Indices;
}