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
NoPotential
V = 0, no potential at all.
Cube
A 3D square (i.e. cubic) well.
QuadWell
Quad well, with short side along the z-axis.
Periodic
Periodic (sin squared).
Coulomb
Standard Coulomb.
ComplexCoulomb
Complex Coulomb.
ElipticalCoulomb
Elliptical Coulomb.
SimpleCornell
Cornell with no corrections.
FullCornell
Fully anisotropic screened Cornell + spin correction.
Harmonic
Harmonic oscillator.
ComplexHarmonic
Complex harmonic oscillator.
Dodecahedron
Dodecahedron, because this totally exists in nature.
FromFile
Pull data from file. Good to save a little startup time on restart runs, or a more complex potential generated from an external tool.
FromScript
Calls a python script the user can implement.
Methods
impl PotentialType
[src]
impl PotentialType
pub fn variable_pot_sub(&self) -> bool
[src]
pub fn variable_pot_sub(&self) -> bool
Returns true if potential_sub
has a non-constant response function
Trait Implementations
impl PartialEq for PotentialType
[src]
impl PartialEq for PotentialType
fn eq(&self, other: &PotentialType) -> bool
[src]
fn eq(&self, other: &PotentialType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Debug for PotentialType
[src]
impl Debug for PotentialType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for PotentialType
[src]
impl Display for PotentialType
Auto Trait Implementations
impl Send for PotentialType
impl Send for PotentialType
impl Sync for PotentialType
impl Sync for PotentialType