Skip to main content

Diffusive

Trait Diffusive 

Source
pub trait Diffusive
where Self: Unit,
{ type Field: Unit; type Gradient: Unit; type Flux: Unit + UnitMul<ReciprocalLength, Output = Self::FluxPerLength>; type FluxPerLength: Unit + UnitMul<Volume, Output = Self>; type Tangent: Unit + UnitMul<ReciprocalLength, Output = Self::TangentPerLength>; type TangentPerLength: Unit + UnitMul<ReciprocalLength, Output = Self::TangentPerArea>; type TangentPerArea: Unit + UnitMul<Volume, Output = Self::Stiffness>; type EnergyDensity: Unit + UnitMul<Volume, Output = Self::Energy>; type Energy: Unit; type Stiffness: Unit; }
Expand description

A balance law, named by the unit of its residual, and the units that follow.

Required Associated Types§

Source

type Field: Unit

The unit of the field whose gradient drives the flux.

Source

type Gradient: Unit

The unit of the gradient of the field.

Source

type Flux: Unit + UnitMul<ReciprocalLength, Output = Self::FluxPerLength>

The unit of the flux.

Source

type FluxPerLength: Unit + UnitMul<Volume, Output = Self>

The unit of the flux per length.

Source

type Tangent: Unit + UnitMul<ReciprocalLength, Output = Self::TangentPerLength>

The unit of the tangent of the flux.

Source

type TangentPerLength: Unit + UnitMul<ReciprocalLength, Output = Self::TangentPerArea>

The unit of the tangent per length.

Source

type TangentPerArea: Unit + UnitMul<Volume, Output = Self::Stiffness>

The unit of the tangent per area.

Source

type EnergyDensity: Unit + UnitMul<Volume, Output = Self::Energy>

The unit of the energy density.

Source

type Energy: Unit

The unit of the energy.

Source

type Stiffness: Unit

The unit of the nodal stiffness.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Diffusive for Charge

Source§

impl Diffusive for Current

Source§

impl Diffusive for MolarFlowRate

Source§

impl Diffusive for Power