pub struct SphericalTensor {
pub ii: f64,
}Expand description
Isotropic diagonal tensor: represents ii * I where I is the 3×3 identity.
Maps to Foam::SphericalTensor<scalar> (SphericalTensorI.H).
Fields§
§ii: f64Implementations§
Trait Implementations§
Source§impl Add for SphericalTensor
impl Add for SphericalTensor
Source§impl Add<SphericalTensor> for SymmTensor
impl Add<SphericalTensor> for SymmTensor
Source§type Output = SymmTensor
type Output = SymmTensor
The resulting type after applying the
+ operator.Source§fn add(self, spt: SphericalTensor) -> Self
fn add(self, spt: SphericalTensor) -> Self
Performs the
+ operation. Read moreSource§impl Add<SphericalTensor> for Tensor
impl Add<SphericalTensor> for Tensor
Source§impl Add<SymmTensor> for SphericalTensor
impl Add<SymmTensor> for SphericalTensor
Source§type Output = SymmTensor
type Output = SymmTensor
The resulting type after applying the
+ operator.Source§fn add(self, st: SymmTensor) -> SymmTensor
fn add(self, st: SymmTensor) -> SymmTensor
Performs the
+ operation. Read moreSource§impl Add<Tensor> for SphericalTensor
impl Add<Tensor> for SphericalTensor
Source§impl Clone for SphericalTensor
impl Clone for SphericalTensor
impl Copy for SphericalTensor
Source§impl Debug for SphericalTensor
impl Debug for SphericalTensor
Source§impl Default for SphericalTensor
impl Default for SphericalTensor
Source§impl Div<SphericalTensor> for f64
scalar / SphericalTensor — maps to C++ operator/(Cmpt, SphericalTensor)
impl Div<SphericalTensor> for f64
scalar / SphericalTensor — maps to C++ operator/(Cmpt, SphericalTensor)
Source§type Output = SphericalTensor
type Output = SphericalTensor
The resulting type after applying the
/ operator.Source§fn div(self, st: SphericalTensor) -> SphericalTensor
fn div(self, st: SphericalTensor) -> SphericalTensor
Performs the
/ operation. Read moreSource§impl Div<f64> for SphericalTensor
impl Div<f64> for SphericalTensor
Source§impl From<SphericalTensor> for SymmTensor
impl From<SphericalTensor> for SymmTensor
Source§fn from(st: SphericalTensor) -> Self
fn from(st: SphericalTensor) -> Self
Converts to this type from the input type.
Source§impl From<SphericalTensor> for Tensor
impl From<SphericalTensor> for Tensor
Source§fn from(st: SphericalTensor) -> Self
fn from(st: SphericalTensor) -> Self
Converts to this type from the input type.
Source§impl Mul<SphericalTensor> for f64
impl Mul<SphericalTensor> for f64
Source§type Output = SphericalTensor
type Output = SphericalTensor
The resulting type after applying the
* operator.Source§fn mul(self, st: SphericalTensor) -> SphericalTensor
fn mul(self, st: SphericalTensor) -> SphericalTensor
Performs the
* operation. Read moreSource§impl Mul<SphericalTensor> for SymmTensor
impl Mul<SphericalTensor> for SymmTensor
Source§type Output = SymmTensor
type Output = SymmTensor
The resulting type after applying the
* operator.Source§fn mul(self, spt: SphericalTensor) -> Self
fn mul(self, spt: SphericalTensor) -> Self
Performs the
* operation. Read moreSource§impl Mul<SphericalTensor> for Tensor
impl Mul<SphericalTensor> for Tensor
Source§impl Mul<SymmTensor> for SphericalTensor
impl Mul<SymmTensor> for SphericalTensor
Source§type Output = SymmTensor
type Output = SymmTensor
The resulting type after applying the
* operator.Source§fn mul(self, st: SymmTensor) -> SymmTensor
fn mul(self, st: SymmTensor) -> SymmTensor
Performs the
* operation. Read moreSource§impl Mul<Tensor> for SphericalTensor
impl Mul<Tensor> for SphericalTensor
Source§impl Mul<f64> for SphericalTensor
impl Mul<f64> for SphericalTensor
Source§impl Neg for SphericalTensor
impl Neg for SphericalTensor
Source§impl PartialEq for SphericalTensor
impl PartialEq for SphericalTensor
impl StructuralPartialEq for SphericalTensor
Source§impl Sub for SphericalTensor
impl Sub for SphericalTensor
Source§impl Sub<SphericalTensor> for SymmTensor
impl Sub<SphericalTensor> for SymmTensor
Source§type Output = SymmTensor
type Output = SymmTensor
The resulting type after applying the
- operator.Source§fn sub(self, spt: SphericalTensor) -> Self
fn sub(self, spt: SphericalTensor) -> Self
Performs the
- operation. Read moreSource§impl Sub<SphericalTensor> for Tensor
impl Sub<SphericalTensor> for Tensor
Source§impl Sub<SymmTensor> for SphericalTensor
impl Sub<SymmTensor> for SphericalTensor
Source§type Output = SymmTensor
type Output = SymmTensor
The resulting type after applying the
- operator.Source§fn sub(self, st: SymmTensor) -> SymmTensor
fn sub(self, st: SymmTensor) -> SymmTensor
Performs the
- operation. Read moreAuto Trait Implementations§
impl Freeze for SphericalTensor
impl RefUnwindSafe for SphericalTensor
impl Send for SphericalTensor
impl Sync for SphericalTensor
impl Unpin for SphericalTensor
impl UnsafeUnpin for SphericalTensor
impl UnwindSafe for SphericalTensor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more