Enum wafer::config::PotentialType [−][src]
pub enum PotentialType {
NoPotential,
Cube,
QuadWell,
Periodic,
Coulomb,
ComplexCoulomb,
ElipticalCoulomb,
SimpleCornell,
FullCornell,
Harmonic,
ComplexHarmonic,
Dodecahedron,
FromFile,
FromScript,
}Type of potential the user wishes to invoke. There are many potentials built in, or the user can opt for two (three) external possibilities:
- Input a pre-calculated potential:
FromFile - Use a python script called from
potential_generator.py:FromScript - Submit an issue or pull request for a potential you deem worthy of inclusion to the built in selection.
Variants
NoPotentialV = 0, no potential at all.
CubeA 3D square (i.e. cubic) well.
QuadWellQuad well, with short side along the z-axis.
PeriodicPeriodic (sin squared).
CoulombStandard Coulomb.
ComplexCoulombComplex Coulomb.
ElipticalCoulombElliptical Coulomb.
SimpleCornellCornell with no corrections.
FullCornellFully anisotropic screened Cornell + spin correction.
HarmonicHarmonic oscillator.
ComplexHarmonicComplex harmonic oscillator.
DodecahedronDodecahedron, because this totally exists in nature.
FromFilePull data from file. Good to save a little startup time on restart runs, or a more complex potential generated from an external tool.
FromScriptCalls a python script the user can implement.
Methods
impl PotentialType[src]
impl PotentialTypepub fn variable_pot_sub(&self) -> bool[src]
pub fn variable_pot_sub(&self) -> boolReturns true if potential_sub has a non-constant response function
Trait Implementations
impl PartialEq for PotentialType[src]
impl PartialEq for PotentialTypefn eq(&self, other: &PotentialType) -> bool[src]
fn eq(&self, other: &PotentialType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Debug for PotentialType[src]
impl Debug for PotentialTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for PotentialType[src]
impl Display for PotentialTypeAuto Trait Implementations
impl Send for PotentialType
impl Send for PotentialTypeimpl Sync for PotentialType
impl Sync for PotentialType