pub struct CoatGridSpec {
pub wl: (f64, f64),
pub beta_max: f64,
pub order: usize,
pub tol: f64,
pub mirror_ref: Option<f64>,
pub primary: f64,
pub max_refine: usize,
}Expand description
膜ファイルの膜からモデルを作るときの指定(model_from_coat)
Fields§
§wl: (f64, f64)波長の範囲 [µm]
beta_max: f64透過の β の上限(格子は β² を 0 からここまで等間隔)
order: usize補間の点の数(CoatModel::order、4〜12)
tol: f64格子の間で許す係数の差
mirror_ref: Option<f64>鏡の表も作る(基準の媒質の屈折率。膜ファイルの鏡と同じく最後の層を基板とみる)
primary: f64膜厚が波長の単位の層の基準波長 [µm](OpticStudio の系の主波長)
max_refine: usize格子を細かくし直す回数の上限
Trait Implementations§
Source§impl Clone for CoatGridSpec
impl Clone for CoatGridSpec
Source§impl Debug for CoatGridSpec
impl Debug for CoatGridSpec
Auto Trait Implementations§
impl Freeze for CoatGridSpec
impl RefUnwindSafe for CoatGridSpec
impl Send for CoatGridSpec
impl Sync for CoatGridSpec
impl Unpin for CoatGridSpec
impl UnsafeUnpin for CoatGridSpec
impl UnwindSafe for CoatGridSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more