Struct CpmlAdeState
pub struct CpmlAdeState {Show 16 fields
pub grid: Grid3dSpec,
pub material: YeeMaterialParams,
pub boundary: BoundaryCondition,
pub cpml_spec: CpmlGradingSpec,
pub dt: f64,
pub step_index: u64,
pub debye_poles: Vec<DebyePole>,
pub drude_poles: Vec<DrudePole>,
pub lorentz_poles: Vec<LorentzPole>,
pub e: [Vec<f64>; 3],
pub h: [Vec<f64>; 3],
pub psi_e: [Vec<f64>; 6],
pub psi_h: [Vec<f64>; 6],
pub debye_state: Vec<AdePoleAuxiliaryState>,
pub drude_state: Vec<AdePoleAuxiliaryState>,
pub lorentz_state: Vec<AdePoleAuxiliaryState>,
}Fields§
§grid: Grid3dSpec§material: YeeMaterialParams§boundary: BoundaryCondition§cpml_spec: CpmlGradingSpec§dt: f64§step_index: u64§debye_poles: Vec<DebyePole>§drude_poles: Vec<DrudePole>§lorentz_poles: Vec<LorentzPole>§e: [Vec<f64>; 3]§h: [Vec<f64>; 3]§psi_e: [Vec<f64>; 6]§psi_h: [Vec<f64>; 6]§debye_state: Vec<AdePoleAuxiliaryState>§drude_state: Vec<AdePoleAuxiliaryState>§lorentz_state: Vec<AdePoleAuxiliaryState>Implementations§
§impl CpmlAdeState
impl CpmlAdeState
pub fn new( grid: Grid3dSpec, material: YeeMaterialParams, boundary: BoundaryCondition, cpml_spec: CpmlGradingSpec, dt: f64, debye_poles: Vec<DebyePole>, drude_poles: Vec<DrudePole>, lorentz_poles: Vec<LorentzPole>, ) -> Result<CpmlAdeState, EmfOperatorError>
pub fn validate(&self) -> Result<usize, EmfOperatorError>
pub fn step_in_place(&mut self) -> Result<(), EmfOperatorError>
Trait Implementations§
§impl Clone for CpmlAdeState
impl Clone for CpmlAdeState
§fn clone(&self) -> CpmlAdeState
fn clone(&self) -> CpmlAdeState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CpmlAdeState
impl Debug for CpmlAdeState
§impl PartialEq for CpmlAdeState
impl PartialEq for CpmlAdeState
impl StructuralPartialEq for CpmlAdeState
Auto Trait Implementations§
impl Freeze for CpmlAdeState
impl RefUnwindSafe for CpmlAdeState
impl Send for CpmlAdeState
impl Sync for CpmlAdeState
impl Unpin for CpmlAdeState
impl UnsafeUnpin for CpmlAdeState
impl UnwindSafe for CpmlAdeState
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