Skip to main content

SamplesTensor2

Struct SamplesTensor2 

Source
pub struct SamplesTensor2 {}
Expand description

Holds second-order tensor samples

Implementations§

Source§

impl SamplesTensor2

Source

pub const TENSOR_O: SampleTensor2

Collects data for a symmetric tensor with all zero components (Tensor O)

Source

pub const TENSOR_I: SampleTensor2

Collects data for a symmetric diagonal tensor, the identity tensor (Tensor I)

Source

pub const TENSOR_X: SampleTensor2

Collects data for a symmetric tensor in 2D (as in plane-stress analyses) (Tensor X)

Source

pub const TENSOR_Y: SampleTensor2

Collects data for a symmetric tensor in 2D (as in plane-stress analyses) (Tensor Y)

Source

pub const TENSOR_Z: SampleTensor2

Collects data for a symmetric tensor in 2D (Tensor Z)

Source

pub const TENSOR_U: SampleTensor2

Collects data for a symmetric tensor in 3D (Tensor U)

Source

pub const TENSOR_S: SampleTensor2

Collects data for a symmetric tensor in 3D (Tensor S)

Source

pub const TENSOR_R: SampleTensor2

Collects data for a non-symmetric tensor in 3D (Tensor R)

Source

pub const TENSOR_T: SampleTensor2

Collects data for a non-symmetric tensor in 3D (Tensor T)

Source

pub const COAL_01: SampleTensor2

Source

pub const COAL_12: SampleTensor2

Source

pub fn all_symmetric<'a>() -> Vec<&'a SampleTensor2>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.