Enum dzahui::solvers::fem::Solver

source ·
pub enum Solver {
    DiffussionSolverTimeIndependent(DiffussionParamsTimeIndependent),
    DiffussionSolverTimeDependent(DiffussionParamsTimeDependent),
    Stokes1DSolver(StokesParams1D),
    Stokes2DSolver(StokesParams2D),
    None,
}
Expand description

General Information

An enum representing every equation implemented by this library. Used as a way of representing an equation without having to create an instance of a solver of it. May be deprecated in the future in favor of a intercative approach from window interface.

Arms

  • DiffussionSolverTimeIndependent - Diffusion equation solver representation.
  • DiffussionSolverTimeDependent - Diffusion equation solver with time derivative representation.
  • Stokes1DSolver - Stokes in 1D solver representation.
  • Stokes2DSolver - Stokes in 2D solver representation.
  • None - Visuallization of mesh in simulation. No equation attached.

Variants§

§

DiffussionSolverTimeIndependent(DiffussionParamsTimeIndependent)

§

DiffussionSolverTimeDependent(DiffussionParamsTimeDependent)

§

Stokes1DSolver(StokesParams1D)

§

Stokes2DSolver(StokesParams2D)

§

None

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.