Skip to main content

ElectricalConduction

Trait ElectricalConduction 

Source
pub trait ElectricalConduction
where Self: Electrical + Diffusion<Balance = Current>,
{ // Provided methods fn current_density( &self, potential_gradient: &ElectricField, ) -> Result<CurrentDensity, ConstitutiveError> { ... } fn current_density_tangent( &self, potential_gradient: &ElectricField, ) -> Result<CurrentDensityTangent, ConstitutiveError> { ... } }
Expand description

Required methods for electrical conduction constitutive models.

Provided Methods§

Source

fn current_density( &self, potential_gradient: &ElectricField, ) -> Result<CurrentDensity, ConstitutiveError>

Calculates and returns the current density.

Source

fn current_density_tangent( &self, potential_gradient: &ElectricField, ) -> Result<CurrentDensityTangent, ConstitutiveError>

Calculates and returns the tangent to the current density.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<C> ElectricalConduction for C
where C: Electrical + Diffusion<Balance = Current>,