pub enum InitialInput {
FermiSea {
fermi: Option<Num>,
vectors: Option<usize>,
seed: Option<u64>,
moments: Option<usize>,
},
Band {
fermi: Option<Num>,
vectors: Option<usize>,
seed: Option<u64>,
orbitals: Option<Vec<usize>>,
},
Localized {
cell: Vec<usize>,
orbital: Option<usize>,
window: Option<[f64; 2]>,
},
}Expand description
The initial state of an EvolutionRun, tagged by its type.
Variants§
FermiSea
The Fermi sea below fermi, as random-phase superpositions of the occupied states: the
clean bands, or with disorder the ground state of the disordered Hamiltonian (a Chebyshev
projection with moments terms, default 1024).
Fields
Band
The clean bands below fermi (only those on orbitals of the cell if given, e.g. one
spin), as random-phase superpositions, also with disorder (which sets them in motion); the
excited carriers are counted in the same bands.
Fields
Localized
One orbital of one cell, projected on the band states in window if given.
Trait Implementations§
Source§impl Clone for InitialInput
impl Clone for InitialInput
Source§fn clone(&self) -> InitialInput
fn clone(&self) -> InitialInput
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 moreSource§impl Debug for InitialInput
impl Debug for InitialInput
Source§impl<'de> Deserialize<'de> for InitialInput
impl<'de> Deserialize<'de> for InitialInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InitialInput
impl RefUnwindSafe for InitialInput
impl Send for InitialInput
impl Sync for InitialInput
impl Unpin for InitialInput
impl UnsafeUnpin for InitialInput
impl UnwindSafe for InitialInput
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T, U> Imply<T> for U
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