pub trait ElectricalConduction{
// 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§
Sourcefn current_density(
&self,
potential_gradient: &ElectricField,
) -> Result<CurrentDensity, ConstitutiveError>
fn current_density( &self, potential_gradient: &ElectricField, ) -> Result<CurrentDensity, ConstitutiveError>
Calculates and returns the current density.
Sourcefn current_density_tangent(
&self,
potential_gradient: &ElectricField,
) -> Result<CurrentDensityTangent, ConstitutiveError>
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".