pub struct VmecEquilibrium {Show 14 fields
pub rmnc: Array2<f64>,
pub zmns: Array2<f64>,
pub iota: Array1<f64>,
pub pressure: Array1<f64>,
pub phi_edge: f64,
pub volume: f64,
pub beta_avg: f64,
pub force_residual: f64,
pub iterations: usize,
pub converged: bool,
pub ns_grid: usize,
pub m_pol: usize,
pub n_tor: usize,
pub nfp: usize,
}Expand description
Solution from the VMEC fixed-boundary solver.
Fields§
§rmnc: Array2<f64>R cosine Fourier coefficients per surface [ns × n_modes].
zmns: Array2<f64>Z sine Fourier coefficients per surface [ns × n_modes].
iota: Array1<f64>Rotational transform profile iota(s) [ns].
pressure: Array1<f64>Pressure profile [Pa] [ns].
phi_edge: f64Total toroidal flux [Wb].
volume: f64Plasma volume [m³].
beta_avg: f64Volume-averaged beta.
force_residual: f64Final force residual norm.
iterations: usizeNumber of iterations.
converged: boolWhether the solver converged.
ns_grid: usizeGrid parameters.
m_pol: usize§n_tor: usize§nfp: usizeTrait Implementations§
Source§impl Clone for VmecEquilibrium
impl Clone for VmecEquilibrium
Source§fn clone(&self) -> VmecEquilibrium
fn clone(&self) -> VmecEquilibrium
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VmecEquilibrium
impl RefUnwindSafe for VmecEquilibrium
impl Send for VmecEquilibrium
impl Sync for VmecEquilibrium
impl Unpin for VmecEquilibrium
impl UnwindSafe for VmecEquilibrium
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