conspire::mechanics

Type Alias FirstPiolaKirchhoffStresses

Source
pub type FirstPiolaKirchhoffStresses<const W: usize> = TensorRank2List<3, 1, 0, W>;
Expand description

A list of first Piola-Kirchhoff stresses.

Aliased Type§

struct FirstPiolaKirchhoffStresses<const W: usize>(/* private fields */);

Trait Implementations

Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Add<&TensorRank2List<D, I, J, W>> for TensorRank2List<D, I, J, W>

Source§

type Output = TensorRank2List<D, I, J, W>

The resulting type after applying the + operator.
Source§

fn add(self, tensor_rank_2_list: &Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Add for TensorRank2List<D, I, J, W>

Source§

type Output = TensorRank2List<D, I, J, W>

The resulting type after applying the + operator.
Source§

fn add(self, tensor_rank_2_list: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> AddAssign<&TensorRank2List<D, I, J, W>> for TensorRank2List<D, I, J, W>

Source§

fn add_assign(&mut self, tensor_rank_2_list: &Self)

Performs the += operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> AddAssign for TensorRank2List<D, I, J, W>

Source§

fn add_assign(&mut self, tensor_rank_2_list: Self)

Performs the += operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Clone for TensorRank2List<D, I, J, W>

Source§

fn clone(&self) -> TensorRank2List<D, I, J, W>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Debug for TensorRank2List<D, I, J, W>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Display for TensorRank2List<D, I, J, W>

Source§

fn fmt(&self, _f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Div<&f64> for TensorRank2List<D, I, J, W>

Source§

type Output = TensorRank2List<D, I, J, W>

The resulting type after applying the / operator.
Source§

fn div(self, tensor_rank_0: &TensorRank0) -> Self::Output

Performs the / operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Div<f64> for TensorRank2List<D, I, J, W>

Source§

type Output = TensorRank2List<D, I, J, W>

The resulting type after applying the / operator.
Source§

fn div(self, tensor_rank_0: TensorRank0) -> Self::Output

Performs the / operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> DivAssign<&f64> for TensorRank2List<D, I, J, W>

Source§

fn div_assign(&mut self, tensor_rank_0: &TensorRank0)

Performs the /= operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> DivAssign<f64> for TensorRank2List<D, I, J, W>

Source§

fn div_assign(&mut self, tensor_rank_0: TensorRank0)

Performs the /= operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> FromIterator<TensorRank2<D, I, J>> for TensorRank2List<D, I, J, W>

Source§

fn from_iter<Ii: IntoIterator<Item = TensorRank2<D, I, J>>>( into_iterator: Ii, ) -> Self

Creates a value from an iterator. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Index<usize> for TensorRank2List<D, I, J, W>

Source§

type Output = TensorRank2<D, I, J>

The returned type after indexing.
Source§

fn index(&self, index: usize) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> IndexMut<usize> for TensorRank2List<D, I, J, W>

Source§

fn index_mut(&mut self, index: usize) -> &mut Self::Output

Performs the mutable indexing (container[index]) operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<&f64> for TensorRank2List<D, I, J, W>

Source§

type Output = TensorRank2List<D, I, J, W>

The resulting type after applying the * operator.
Source§

fn mul(self, tensor_rank_0: &TensorRank0) -> Self::Output

Performs the * operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<f64> for TensorRank2List<D, I, J, W>

Source§

type Output = TensorRank2List<D, I, J, W>

The resulting type after applying the * operator.
Source§

fn mul(self, tensor_rank_0: TensorRank0) -> Self::Output

Performs the * operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> MulAssign<&f64> for TensorRank2List<D, I, J, W>

Source§

fn mul_assign(&mut self, tensor_rank_0: &TensorRank0)

Performs the *= operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> MulAssign<f64> for TensorRank2List<D, I, J, W>

Source§

fn mul_assign(&mut self, tensor_rank_0: TensorRank0)

Performs the *= operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Sub<&TensorRank2List<D, I, J, W>> for TensorRank2List<D, I, J, W>

Source§

type Output = TensorRank2List<D, I, J, W>

The resulting type after applying the - operator.
Source§

fn sub(self, tensor_rank_2_list: &Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Sub for TensorRank2List<D, I, J, W>

Source§

type Output = TensorRank2List<D, I, J, W>

The resulting type after applying the - operator.
Source§

fn sub(self, tensor_rank_2_list: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> SubAssign<&TensorRank2List<D, I, J, W>> for TensorRank2List<D, I, J, W>

Source§

fn sub_assign(&mut self, tensor_rank_2_list: &Self)

Performs the -= operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> SubAssign for TensorRank2List<D, I, J, W>

Source§

fn sub_assign(&mut self, tensor_rank_2_list: Self)

Performs the -= operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> Tensor for TensorRank2List<D, I, J, W>

Source§

type Item = TensorRank2<D, I, J>

The type of item encountered when iterating over the tensor.
Source§

fn iter(&self) -> impl Iterator<Item = &Self::Item>

Returns an iterator. Read more
Source§

fn iter_mut(&mut self) -> impl Iterator<Item = &mut Self::Item>

Returns an iterator that allows modifying each value. Read more
Source§

fn full_contraction(&self, tensor: &Self) -> TensorRank0

Returns the full contraction with another tensor.
Source§

fn get_at(&self, _indices: &[usize]) -> &TensorRank0

Returns a reference to the entry at the specified indices.
Source§

fn get_at_mut(&mut self, _indices: &[usize]) -> &mut TensorRank0

Returns a mutable reference to the entry at the specified indices.
Source§

fn is_zero(&self) -> bool

Checks whether the tensor is the zero tensor.
Source§

fn norm(&self) -> TensorRank0

Returns the tensor norm.
Source§

fn norm_squared(&self) -> TensorRank0

Returns the tensor norm squared.
Source§

fn normalize(&mut self)

Normalizes the tensor.
Source§

fn normalized(self) -> Self

Returns the tensor normalized.
Source§

impl<const D: usize, const I: usize, const J: usize, const W: usize> TensorArray for TensorRank2List<D, I, J, W>

Source§

type Array = [[[f64; D]; D]; W]

The type of array corresponding to the tensor.
Source§

type Item = TensorRank2<D, I, J>

The type of item encountered when iterating over the tensor.
Source§

fn as_array(&self) -> Self::Array

Returns the tensor as an array.
Source§

fn identity() -> Self

Returns the identity tensor.
Source§

fn new(array: Self::Array) -> Self

Returns a tensor given an array.
Source§

fn zero() -> Self

Returns the zero tensor.