Physical Quantities  v1.0.0
C++ library of physical quantities, physical models, and units of measure for scientific computing. https://github.com/acodcha/phq
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
PhQ::VelocityGradient< NumericType > Class Template Reference

Three-dimensional Euclidean velocity gradient dyadic tensor. Gradient of the velocity vector. May be symmetric or asymmetric. Contains nine components in Cartesian coordinates: xx, xy, xz, yx, yy, yz, zx, zy, and zz. For the scalar components or resultants of a velocity gradient tensor, see PhQ::ScalarVelocityGradient. Can also represent the time rate of change of a displacement gradient; see PhQ::DisplacementGradient, PhQ::Time, and PhQ::Frequency. More...

#include "VelocityGradient.hpp"

Public Member Functions

 VelocityGradient ()=default
 Default constructor. Constructs a velocity gradient tensor with an uninitialized value. More...
 
 VelocityGradient (const Dyad< NumericType > &value, const Unit::Frequency &unit)
 Constructor. Constructs a velocity gradient tensor with a given value expressed in a given frequency unit. More...
 
 VelocityGradient (const ScalarVelocityGradient< NumericType > &xx, const ScalarVelocityGradient< NumericType > &xy, const ScalarVelocityGradient< NumericType > &xz, const ScalarVelocityGradient< NumericType > &yx, const ScalarVelocityGradient< NumericType > &yy, const ScalarVelocityGradient< NumericType > &yz, const ScalarVelocityGradient< NumericType > &zx, const ScalarVelocityGradient< NumericType > &zy, const ScalarVelocityGradient< NumericType > &zz)
 Constructor. Constructs a velocity gradient tensor from a given set of scalar velocity gradient components. More...
 
constexpr VelocityGradient (const DisplacementGradient< NumericType > &displacement_gradient, const Time< NumericType > &time)
 Constructor. Constructs a velocity gradient tensor from a given displacement gradient tensor and time using the definition of speed. More...
 
constexpr VelocityGradient (const DisplacementGradient< NumericType > &displacement_gradient, const Frequency< NumericType > &frequency)
 Constructor. Constructs a velocity gradient tensor from a given displacement gradient tensor and frequency using the definition of speed. More...
 
 ~VelocityGradient () noexcept=default
 Destructor. Destroys this velocity gradient tensor. More...
 
constexpr VelocityGradient (const VelocityGradient< NumericType > &other)=default
 Copy constructor. Constructs a velocity gradient tensor by copying another one. More...
 
template<typename OtherNumericType >
constexpr VelocityGradient (const VelocityGradient< OtherNumericType > &other)
 Copy constructor. Constructs a velocity gradient tensor by copying another one. More...
 
constexpr VelocityGradient (VelocityGradient< NumericType > &&other) noexcept=default
 Move constructor. Constructs a velocity gradient tensor by moving another one. More...
 
constexpr VelocityGradient< NumericType > & operator= (const VelocityGradient< NumericType > &other)=default
 Copy assignment operator. Assigns this velocity gradient tensor by copying another one. More...
 
template<typename OtherNumericType >
constexpr VelocityGradient< NumericType > & operator= (const VelocityGradient< OtherNumericType > &other)
 Copy assignment operator. Assigns this velocity gradient tensor by copying another one. More...
 
constexpr VelocityGradient< NumericType > & operator= (VelocityGradient< NumericType > &&other) noexcept=default
 Move assignment operator. Assigns this velocity gradient tensor by moving another one. More...
 
constexpr ScalarVelocityGradient< NumericType > xx () const noexcept
 Returns the xx Cartesian component of this velocity gradient tensor. More...
 
constexpr ScalarVelocityGradient< NumericType > xy () const noexcept
 Returns the xy Cartesian component of this velocity gradient tensor. More...
 
constexpr ScalarVelocityGradient< NumericType > xz () const noexcept
 Returns the xz Cartesian component of this velocity gradient tensor. More...
 
constexpr ScalarVelocityGradient< NumericType > yx () const noexcept
 Returns the yx Cartesian component of this velocity gradient tensor. More...
 
constexpr ScalarVelocityGradient< NumericType > yy () const noexcept
 Returns the yy Cartesian component of this velocity gradient tensor. More...
 
constexpr ScalarVelocityGradient< NumericType > yz () const noexcept
 Returns the yz Cartesian component of this velocity gradient tensor. More...
 
constexpr ScalarVelocityGradient< NumericType > zx () const noexcept
 Returns the zx Cartesian component of this velocity gradient tensor. More...
 
constexpr ScalarVelocityGradient< NumericType > zy () const noexcept
 Returns the zy Cartesian component of this velocity gradient tensor. More...
 
constexpr ScalarVelocityGradient< NumericType > zz () const noexcept
 Returns the zz Cartesian component of this velocity gradient tensor. More...
 
constexpr PhQ::StrainRate< NumericType > StrainRate () const
 Creates a strain rate tensor from this velocity gradient tensor using the definition of the strain rate tensor. More...
 
constexpr VelocityGradient< NumericType > operator+ (const VelocityGradient< NumericType > &velocity_gradient) const
 
constexpr VelocityGradient< NumericType > operator- (const VelocityGradient< NumericType > &velocity_gradient) const
 
constexpr VelocityGradient< NumericType > operator* (const NumericType number) const
 
constexpr DisplacementGradient< NumericType > operator* (const Time< NumericType > &time) const
 
constexpr VelocityGradient< NumericType > operator/ (const NumericType number) const
 
constexpr DisplacementGradient< NumericType > operator/ (const Frequency< NumericType > &frequency) const
 
constexpr void operator+= (const VelocityGradient< NumericType > &velocity_gradient) noexcept
 
constexpr void operator-= (const VelocityGradient< NumericType > &velocity_gradient) noexcept
 
constexpr void operator*= (const NumericType number) noexcept
 
constexpr void operator/= (const NumericType number) noexcept
 
constexpr const PhQ::Dyad< double > & Value () const noexcept
 Value of this physical quantity expressed in its standard unit of measure. More...
 
PhQ::Dyad< double > Value (const Unit::Frequency unit) const
 Value of this physical quantity expressed in a given unit of measure. More...
 
constexpr PhQ::Dyad< double > StaticValue () const
 Value of this physical quantity expressed in a given unit of measure. This method can be evaluated statically at compile-time. More...
 
constexpr PhQ::Dyad< double > & MutableValue () noexcept
 Returns the value of this physical quantity expressed in its standard unit of measure as a mutable value. More...
 
constexpr void SetValue (const PhQ::Dyad< double > &value) noexcept
 Sets the value of this physical quantity expressed in its standard unit of measure to the given value. More...
 
std::string Print () const
 Prints this physical quantity as a string. This physical quantity's value is expressed in its standard unit of measure. More...
 
std::string Print (const Unit::Frequency unit) const
 Prints this physical quantity as a string. This physical quantity's value is expressed in the given unit of measure. More...
 
std::string JSON () const
 Serializes this physical quantity as a JSON message. This physical quantity's value is expressed in its standard unit of measure. More...
 
std::string JSON (const Unit::Frequency unit) const
 Serializes this physical quantity as a JSON message. This physical quantity's value is expressed in the given unit of measure. More...
 
std::string XML () const
 Serializes this physical quantity as an XML message. This physical quantity's value is expressed in its standard unit of measure. More...
 
std::string XML (const Unit::Frequency unit) const
 Serializes this physical quantity as an XML message. This physical quantity's value is expressed in the given unit of measure. More...
 
std::string YAML () const
 Serializes this physical quantity as a YAML message. This physical quantity's value is expressed in its standard unit of measure. More...
 
std::string YAML (const Unit::Frequency unit) const
 Serializes this physical quantity as a YAML message. This physical quantity's value is expressed in the given unit of measure. More...
 

Static Public Member Functions

static constexpr VelocityGradient< NumericType > Zero ()
 Statically creates a velocity gradient tensor of zero. More...
 
template<Unit::Frequency Unit>
static constexpr VelocityGradient< NumericType > Create (const NumericType xx, const NumericType xy, const NumericType xz, const NumericType yx, const NumericType yy, const NumericType yz, const NumericType zx, const NumericType zy, const NumericType zz)
 Statically creates a velocity gradient tensor from the given xx, xy, xz, yx, yy, yz, zx,zy, and zz Cartesian components expressed in a given frequency unit. More...
 
template<Unit::Frequency Unit>
static constexpr VelocityGradient< NumericType > Create (const std::array< NumericType, 9 > &xx_xy_xz_yx_yy_yz_zx_zy_zz)
 Statically creates a velocity gradient tensor from the given xx, xy, xz, yx, yy, yz, zx,zy, and zz Cartesian components expressed in a given frequency unit. More...
 
template<Unit::Frequency Unit>
static constexpr VelocityGradient< NumericType > Create (const Dyad< NumericType > &value)
 Statically creates a velocity gradient tensor with a given value expressed in a given frequency unit. More...
 
static constexpr const PhQ::DimensionsDimensions ()
 Physical dimension set of this physical quantity. More...
 
static constexpr Unit::Frequency Unit ()
 Standard unit of measure for this physical quantity. This physical quantity's value is stored internally in this unit of measure. More...
 

Protected Attributes

PhQ::Dyad< double > value
 Value of this physical quantity expressed in its standard unit of measure. More...
 

Private Member Functions

constexpr VelocityGradient (const Dyad< NumericType > &value)
 Constructor. Constructs a velocity gradient tensor with a given value expressed in the standard frequency unit. More...
 

Detailed Description

template<typename NumericType = double>
class PhQ::VelocityGradient< NumericType >

Three-dimensional Euclidean velocity gradient dyadic tensor. Gradient of the velocity vector. May be symmetric or asymmetric. Contains nine components in Cartesian coordinates: xx, xy, xz, yx, yy, yz, zx, zy, and zz. For the scalar components or resultants of a velocity gradient tensor, see PhQ::ScalarVelocityGradient. Can also represent the time rate of change of a displacement gradient; see PhQ::DisplacementGradient, PhQ::Time, and PhQ::Frequency.

Definition at line 50 of file VelocityGradient.hpp.

Constructor & Destructor Documentation

◆ VelocityGradient() [1/9]

template<typename NumericType = double>
PhQ::VelocityGradient< NumericType >::VelocityGradient ( )
default

Default constructor. Constructs a velocity gradient tensor with an uninitialized value.

◆ VelocityGradient() [2/9]

template<typename NumericType = double>
PhQ::VelocityGradient< NumericType >::VelocityGradient ( const Dyad< NumericType > &  value,
const Unit::Frequency unit 
)
inline

Constructor. Constructs a velocity gradient tensor with a given value expressed in a given frequency unit.

Definition at line 57 of file VelocityGradient.hpp.

◆ VelocityGradient() [3/9]

template<typename NumericType = double>
PhQ::VelocityGradient< NumericType >::VelocityGradient ( const ScalarVelocityGradient< NumericType > &  xx,
const ScalarVelocityGradient< NumericType > &  xy,
const ScalarVelocityGradient< NumericType > &  xz,
const ScalarVelocityGradient< NumericType > &  yx,
const ScalarVelocityGradient< NumericType > &  yy,
const ScalarVelocityGradient< NumericType > &  yz,
const ScalarVelocityGradient< NumericType > &  zx,
const ScalarVelocityGradient< NumericType > &  zy,
const ScalarVelocityGradient< NumericType > &  zz 
)
inline

◆ VelocityGradient() [4/9]

template<typename NumericType = double>
constexpr PhQ::VelocityGradient< NumericType >::VelocityGradient ( const DisplacementGradient< NumericType > &  displacement_gradient,
const Time< NumericType > &  time 
)
inlineconstexpr

Constructor. Constructs a velocity gradient tensor from a given displacement gradient tensor and time using the definition of speed.

Definition at line 73 of file VelocityGradient.hpp.

◆ VelocityGradient() [5/9]

template<typename NumericType = double>
constexpr PhQ::VelocityGradient< NumericType >::VelocityGradient ( const DisplacementGradient< NumericType > &  displacement_gradient,
const Frequency< NumericType > &  frequency 
)
inlineconstexpr

Constructor. Constructs a velocity gradient tensor from a given displacement gradient tensor and frequency using the definition of speed.

Definition at line 79 of file VelocityGradient.hpp.

◆ ~VelocityGradient()

template<typename NumericType = double>
PhQ::VelocityGradient< NumericType >::~VelocityGradient ( )
defaultnoexcept

Destructor. Destroys this velocity gradient tensor.

◆ VelocityGradient() [6/9]

template<typename NumericType = double>
constexpr PhQ::VelocityGradient< NumericType >::VelocityGradient ( const VelocityGradient< NumericType > &  other)
constexprdefault

Copy constructor. Constructs a velocity gradient tensor by copying another one.

◆ VelocityGradient() [7/9]

template<typename NumericType = double>
template<typename OtherNumericType >
constexpr PhQ::VelocityGradient< NumericType >::VelocityGradient ( const VelocityGradient< OtherNumericType > &  other)
inlineexplicitconstexpr

Copy constructor. Constructs a velocity gradient tensor by copying another one.

Definition at line 91 of file VelocityGradient.hpp.

◆ VelocityGradient() [8/9]

template<typename NumericType = double>
constexpr PhQ::VelocityGradient< NumericType >::VelocityGradient ( VelocityGradient< NumericType > &&  other)
constexprdefaultnoexcept

Move constructor. Constructs a velocity gradient tensor by moving another one.

◆ VelocityGradient() [9/9]

template<typename NumericType = double>
constexpr PhQ::VelocityGradient< NumericType >::VelocityGradient ( const Dyad< NumericType > &  value)
inlineexplicitconstexprprivate

Constructor. Constructs a velocity gradient tensor with a given value expressed in the standard frequency unit.

Definition at line 246 of file VelocityGradient.hpp.

Member Function Documentation

◆ Create() [1/3]

template<typename NumericType = double>
template<Unit::Frequency Unit>
static constexpr VelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::Create ( const Dyad< NumericType > &  value)
inlinestaticconstexpr

Statically creates a velocity gradient tensor with a given value expressed in a given frequency unit.

Definition at line 143 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< Unit::Frequency, double >::value.

◆ Create() [2/3]

template<typename NumericType = double>
template<Unit::Frequency Unit>
static constexpr VelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::Create ( const NumericType  xx,
const NumericType  xy,
const NumericType  xz,
const NumericType  yx,
const NumericType  yy,
const NumericType  yz,
const NumericType  zx,
const NumericType  zy,
const NumericType  zz 
)
inlinestaticconstexpr

◆ Create() [3/3]

template<typename NumericType = double>
template<Unit::Frequency Unit>
static constexpr VelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::Create ( const std::array< NumericType, 9 > &  xx_xy_xz_yx_yy_yz_zx_zy_zz)
inlinestaticconstexpr

Statically creates a velocity gradient tensor from the given xx, xy, xz, yx, yy, yz, zx,zy, and zz Cartesian components expressed in a given frequency unit.

Definition at line 133 of file VelocityGradient.hpp.

◆ Dimensions()

static constexpr const PhQ::Dimensions& PhQ::DimensionalDyad< Unit::Frequency , double >::Dimensions ( )
inlinestaticconstexprinherited

Physical dimension set of this physical quantity.

Definition at line 50 of file DimensionalDyad.hpp.

◆ JSON() [1/2]

std::string PhQ::DimensionalDyad< Unit::Frequency , double >::JSON ( ) const
inlineinherited

Serializes this physical quantity as a JSON message. This physical quantity's value is expressed in its standard unit of measure.

Definition at line 103 of file DimensionalDyad.hpp.

◆ JSON() [2/2]

std::string PhQ::DimensionalDyad< Unit::Frequency , double >::JSON ( const Unit::Frequency  unit) const
inlineinherited

Serializes this physical quantity as a JSON message. This physical quantity's value is expressed in the given unit of measure.

Definition at line 113 of file DimensionalDyad.hpp.

◆ MutableValue()

constexpr PhQ::Dyad<double >& PhQ::DimensionalDyad< Unit::Frequency , double >::MutableValue ( )
inlineconstexprnoexceptinherited

Returns the value of this physical quantity expressed in its standard unit of measure as a mutable value.

Definition at line 79 of file DimensionalDyad.hpp.

◆ operator*() [1/2]

template<typename NumericType = double>
constexpr VelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::operator* ( const NumericType  number) const
inlineconstexpr

◆ operator*() [2/2]

template<typename NumericType = double>
constexpr DisplacementGradient<NumericType> PhQ::VelocityGradient< NumericType >::operator* ( const Time< NumericType > &  time) const
inlineconstexpr

Definition at line 214 of file VelocityGradient.hpp.

◆ operator*=()

template<typename NumericType = double>
constexpr void PhQ::VelocityGradient< NumericType >::operator*= ( const NumericType  number)
inlineconstexprnoexcept

◆ operator+()

template<typename NumericType = double>
constexpr VelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::operator+ ( const VelocityGradient< NumericType > &  velocity_gradient) const
inlineconstexpr

◆ operator+=()

template<typename NumericType = double>
constexpr void PhQ::VelocityGradient< NumericType >::operator+= ( const VelocityGradient< NumericType > &  velocity_gradient)
inlineconstexprnoexcept

◆ operator-()

template<typename NumericType = double>
constexpr VelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::operator- ( const VelocityGradient< NumericType > &  velocity_gradient) const
inlineconstexpr

◆ operator-=()

template<typename NumericType = double>
constexpr void PhQ::VelocityGradient< NumericType >::operator-= ( const VelocityGradient< NumericType > &  velocity_gradient)
inlineconstexprnoexcept

◆ operator/() [1/2]

template<typename NumericType = double>
constexpr DisplacementGradient<NumericType> PhQ::VelocityGradient< NumericType >::operator/ ( const Frequency< NumericType > &  frequency) const
inlineconstexpr

Definition at line 222 of file VelocityGradient.hpp.

◆ operator/() [2/2]

template<typename NumericType = double>
constexpr VelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::operator/ ( const NumericType  number) const
inlineconstexpr

◆ operator/=()

template<typename NumericType = double>
constexpr void PhQ::VelocityGradient< NumericType >::operator/= ( const NumericType  number)
inlineconstexprnoexcept

◆ operator=() [1/3]

template<typename NumericType = double>
constexpr VelocityGradient<NumericType>& PhQ::VelocityGradient< NumericType >::operator= ( const VelocityGradient< NumericType > &  other)
constexprdefault

Copy assignment operator. Assigns this velocity gradient tensor by copying another one.

◆ operator=() [2/3]

template<typename NumericType = double>
template<typename OtherNumericType >
constexpr VelocityGradient<NumericType>& PhQ::VelocityGradient< NumericType >::operator= ( const VelocityGradient< OtherNumericType > &  other)
inlineconstexpr

Copy assignment operator. Assigns this velocity gradient tensor by copying another one.

Definition at line 103 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< UnitType, NumericType >::Value(), and PhQ::DimensionalDyad< Unit::Frequency, double >::value.

◆ operator=() [3/3]

template<typename NumericType = double>
constexpr VelocityGradient<NumericType>& PhQ::VelocityGradient< NumericType >::operator= ( VelocityGradient< NumericType > &&  other)
constexprdefaultnoexcept

Move assignment operator. Assigns this velocity gradient tensor by moving another one.

◆ Print() [1/2]

std::string PhQ::DimensionalDyad< Unit::Frequency , double >::Print ( ) const
inlineinherited

Prints this physical quantity as a string. This physical quantity's value is expressed in its standard unit of measure.

Definition at line 91 of file DimensionalDyad.hpp.

◆ Print() [2/2]

std::string PhQ::DimensionalDyad< Unit::Frequency , double >::Print ( const Unit::Frequency  unit) const
inlineinherited

Prints this physical quantity as a string. This physical quantity's value is expressed in the given unit of measure.

Definition at line 97 of file DimensionalDyad.hpp.

◆ SetValue()

constexpr void PhQ::DimensionalDyad< Unit::Frequency , double >::SetValue ( const PhQ::Dyad< double > &  value)
inlineconstexprnoexceptinherited

Sets the value of this physical quantity expressed in its standard unit of measure to the given value.

Definition at line 85 of file DimensionalDyad.hpp.

◆ StaticValue()

constexpr PhQ::Dyad<double > PhQ::DimensionalDyad< Unit::Frequency , double >::StaticValue ( ) const
inlineconstexprinherited

Value of this physical quantity expressed in a given unit of measure. This method can be evaluated statically at compile-time.

Definition at line 73 of file DimensionalDyad.hpp.

◆ StrainRate()

template<typename NumericType = double>
constexpr PhQ::StrainRate<NumericType> PhQ::VelocityGradient< NumericType >::StrainRate ( ) const
inlineconstexpr

Creates a strain rate tensor from this velocity gradient tensor using the definition of the strain rate tensor.

Definition at line 196 of file VelocityGradient.hpp.

◆ Unit()

static constexpr Unit::Frequency PhQ::DimensionalDyad< Unit::Frequency , double >::Unit ( )
inlinestaticconstexprinherited

Standard unit of measure for this physical quantity. This physical quantity's value is stored internally in this unit of measure.

Definition at line 56 of file DimensionalDyad.hpp.

◆ Value() [1/2]

constexpr const PhQ::Dyad<double >& PhQ::DimensionalDyad< Unit::Frequency , double >::Value ( ) const
inlineconstexprnoexceptinherited

Value of this physical quantity expressed in its standard unit of measure.

Definition at line 61 of file DimensionalDyad.hpp.

◆ Value() [2/2]

PhQ::Dyad<double > PhQ::DimensionalDyad< Unit::Frequency , double >::Value ( const Unit::Frequency  unit) const
inlineinherited

Value of this physical quantity expressed in a given unit of measure.

Definition at line 66 of file DimensionalDyad.hpp.

◆ XML() [1/2]

std::string PhQ::DimensionalDyad< Unit::Frequency , double >::XML ( ) const
inlineinherited

Serializes this physical quantity as an XML message. This physical quantity's value is expressed in its standard unit of measure.

Definition at line 123 of file DimensionalDyad.hpp.

◆ XML() [2/2]

std::string PhQ::DimensionalDyad< Unit::Frequency , double >::XML ( const Unit::Frequency  unit) const
inlineinherited

Serializes this physical quantity as an XML message. This physical quantity's value is expressed in the given unit of measure.

Definition at line 133 of file DimensionalDyad.hpp.

◆ xx()

template<typename NumericType = double>
constexpr ScalarVelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::xx ( ) const
inlineconstexprnoexcept

Returns the xx Cartesian component of this velocity gradient tensor.

Definition at line 150 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< Unit::Frequency, double >::value, and PhQ::Dyad< NumericType >::xx().

Referenced by PhQ::VelocityGradient< NumericType >::Create(), and PhQ::VelocityGradient< NumericType >::VelocityGradient().

◆ xy()

template<typename NumericType = double>
constexpr ScalarVelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::xy ( ) const
inlineconstexprnoexcept

Returns the xy Cartesian component of this velocity gradient tensor.

Definition at line 155 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< Unit::Frequency, double >::value, and PhQ::Dyad< NumericType >::xy().

Referenced by PhQ::VelocityGradient< NumericType >::Create(), and PhQ::VelocityGradient< NumericType >::VelocityGradient().

◆ xz()

template<typename NumericType = double>
constexpr ScalarVelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::xz ( ) const
inlineconstexprnoexcept

Returns the xz Cartesian component of this velocity gradient tensor.

Definition at line 160 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< Unit::Frequency, double >::value, and PhQ::Dyad< NumericType >::xz().

Referenced by PhQ::VelocityGradient< NumericType >::Create(), and PhQ::VelocityGradient< NumericType >::VelocityGradient().

◆ YAML() [1/2]

std::string PhQ::DimensionalDyad< Unit::Frequency , double >::YAML ( ) const
inlineinherited

Serializes this physical quantity as a YAML message. This physical quantity's value is expressed in its standard unit of measure.

Definition at line 143 of file DimensionalDyad.hpp.

◆ YAML() [2/2]

std::string PhQ::DimensionalDyad< Unit::Frequency , double >::YAML ( const Unit::Frequency  unit) const
inlineinherited

Serializes this physical quantity as a YAML message. This physical quantity's value is expressed in the given unit of measure.

Definition at line 153 of file DimensionalDyad.hpp.

◆ yx()

template<typename NumericType = double>
constexpr ScalarVelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::yx ( ) const
inlineconstexprnoexcept

Returns the yx Cartesian component of this velocity gradient tensor.

Definition at line 165 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< Unit::Frequency, double >::value, and PhQ::Dyad< NumericType >::yx().

Referenced by PhQ::VelocityGradient< NumericType >::Create(), and PhQ::VelocityGradient< NumericType >::VelocityGradient().

◆ yy()

template<typename NumericType = double>
constexpr ScalarVelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::yy ( ) const
inlineconstexprnoexcept

Returns the yy Cartesian component of this velocity gradient tensor.

Definition at line 170 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< Unit::Frequency, double >::value, and PhQ::Dyad< NumericType >::yy().

Referenced by PhQ::VelocityGradient< NumericType >::Create(), and PhQ::VelocityGradient< NumericType >::VelocityGradient().

◆ yz()

template<typename NumericType = double>
constexpr ScalarVelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::yz ( ) const
inlineconstexprnoexcept

Returns the yz Cartesian component of this velocity gradient tensor.

Definition at line 175 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< Unit::Frequency, double >::value, and PhQ::Dyad< NumericType >::yz().

Referenced by PhQ::VelocityGradient< NumericType >::Create(), and PhQ::VelocityGradient< NumericType >::VelocityGradient().

◆ Zero()

template<typename NumericType = double>
static constexpr VelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::Zero ( )
inlinestaticconstexpr

Statically creates a velocity gradient tensor of zero.

Definition at line 114 of file VelocityGradient.hpp.

References PhQ::Dyad< NumericType >::Zero().

◆ zx()

template<typename NumericType = double>
constexpr ScalarVelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::zx ( ) const
inlineconstexprnoexcept

Returns the zx Cartesian component of this velocity gradient tensor.

Definition at line 180 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< Unit::Frequency, double >::value, and PhQ::Dyad< NumericType >::zx().

Referenced by PhQ::VelocityGradient< NumericType >::Create(), and PhQ::VelocityGradient< NumericType >::VelocityGradient().

◆ zy()

template<typename NumericType = double>
constexpr ScalarVelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::zy ( ) const
inlineconstexprnoexcept

Returns the zy Cartesian component of this velocity gradient tensor.

Definition at line 185 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< Unit::Frequency, double >::value, and PhQ::Dyad< NumericType >::zy().

Referenced by PhQ::VelocityGradient< NumericType >::Create(), and PhQ::VelocityGradient< NumericType >::VelocityGradient().

◆ zz()

template<typename NumericType = double>
constexpr ScalarVelocityGradient<NumericType> PhQ::VelocityGradient< NumericType >::zz ( ) const
inlineconstexprnoexcept

Returns the zz Cartesian component of this velocity gradient tensor.

Definition at line 190 of file VelocityGradient.hpp.

References PhQ::DimensionalDyad< Unit::Frequency, double >::value, and PhQ::Dyad< NumericType >::zz().

Referenced by PhQ::VelocityGradient< NumericType >::Create(), and PhQ::VelocityGradient< NumericType >::VelocityGradient().

Member Data Documentation

◆ value

PhQ::Dyad<double > PhQ::DimensionalDyad< Unit::Frequency , double >::value
protectedinherited

Value of this physical quantity expressed in its standard unit of measure.

Definition at line 217 of file DimensionalDyad.hpp.


The documentation for this class was generated from the following files: