pub struct VmecSolverConfig {
pub m_pol: usize,
pub n_tor: usize,
pub ns: usize,
pub ntheta: usize,
pub nzeta: usize,
pub max_iter: usize,
pub tol: f64,
pub step_size: f64,
}Expand description
Solver configuration for the VMEC fixed-boundary equilibrium.
Fields§
§m_pol: usizeMaximum poloidal mode number.
n_tor: usizeMaximum toroidal mode number (0 = axisymmetric).
ns: usizeNumber of flux surfaces (radial, including axis + boundary).
ntheta: usizePoloidal angle grid points.
nzeta: usizeToroidal angle grid points per field period.
max_iter: usizeMaximum steepest-descent iterations.
tol: f64Force residual convergence tolerance.
step_size: f64Steepest descent step size.
Implementations§
Trait Implementations§
Source§impl Clone for VmecSolverConfig
impl Clone for VmecSolverConfig
Source§fn clone(&self) -> VmecSolverConfig
fn clone(&self) -> VmecSolverConfig
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 moreSource§impl Debug for VmecSolverConfig
impl Debug for VmecSolverConfig
Auto Trait Implementations§
impl Freeze for VmecSolverConfig
impl RefUnwindSafe for VmecSolverConfig
impl Send for VmecSolverConfig
impl Sync for VmecSolverConfig
impl Unpin for VmecSolverConfig
impl UnwindSafe for VmecSolverConfig
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