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:

  1. Input a pre-calculated potential: FromFile
  2. Use a python script called from potential_generator.py: FromScript
  3. Submit an issue or pull request for a potential you deem worthy of inclusion to the built in selection.

Variants

V = 0, no potential at all.

A 3D square (i.e. cubic) well.

Quad well, with short side along the z-axis.

Periodic (sin squared).

Standard Coulomb.

Complex Coulomb.

Elliptical Coulomb.

Cornell with no corrections.

Fully anisotropic screened Cornell + spin correction.

Harmonic oscillator.

Complex harmonic oscillator.

Dodecahedron, because this totally exists in nature.

Pull data from file. Good to save a little startup time on restart runs, or a more complex potential generated from an external tool.

Calls a python script the user can implement.

Methods

impl PotentialType
[src]

Returns true if potential_sub has a non-constant response function

Trait Implementations

impl PartialEq for PotentialType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for PotentialType
[src]

Formats the value using the given formatter. Read more

impl Display for PotentialType
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for PotentialType

impl Sync for PotentialType