Struct electro::fem::TriEl [] [src]

pub struct TriEl<T, U> where
    T: NumCast + Float + Any,
    U: Float
{ pub space: [[U; 2]; 3], pub permittivity: T, pub nodes: [usize; 3], }

A triangular element.

Fields

The (rectangular) coordinates of each point, in counterclockwise order.

The electric permittivity within the element.

The grid nodes the element's vertices correspond to (in CCW order)

Trait Implementations

impl<T: Debug, U: Debug> Debug for TriEl<T, U> where
    T: NumCast + Float + Any,
    U: Float
[src]

Formats the value using the given formatter.