此类定义了LIBMESH_DIM维度的实数或复数空间中的张量。typedef RealTensorValue总是定义为实数值的张量, 而NumberTensorValue则根据库的配置定义为实数或复数值的张量。 更多...
#include <tensor_tools.h>
类 | |
struct | rebind |
Public 类型 | |
typedef T | value_type |
Public 成员函数 | |
TensorValue () | |
无参构造函数。 在LIBMESH_DIM维度的T空间中创建零张量。 更多... | |
TensorValue (const T &xx, const T &xy=0, const T &xz=0, const T &yx=0, const T &yy=0, const T &yz=0, const T &zx=0, const T &zy=0, const T &zz=0) | |
Constructor-from-T。默认情况下,将更高维度的条目设置为0。 更多... | |
template<typename Scalar > | |
TensorValue (const Scalar &xx, const Scalar &xy=0, const Scalar &xz=0, const Scalar &yx=0, const Scalar &yy=0, const Scalar &yz=0, const Scalar &zx=0, const Scalar &zy=0, typename boostcopy::enable_if_c< ScalarTraits< Scalar >::value, const Scalar >::type &zz=0) | |
Constructor-from-scalars。默认情况下,将更高维度的条目设置为0。 更多... | |
template<typename T2 > | |
TensorValue (const TypeVector< T2 > &vx) | |
构造函数。对于LIBMESH_DIM=1,需要1行向量。 更多... | |
template<typename T2 > | |
TensorValue (const TypeVector< T2 > &vx, const TypeVector< T2 > &vy) | |
构造函数。对于LIBMESH_DIM=2,需要2行向量。 更多... | |
template<typename T2 > | |
TensorValue (const TypeVector< T2 > &vx, const TypeVector< T2 > &vy, const TypeVector< T2 > &vz) | |
构造函数。对于LIBMESH_DIM=3,需要3行向量。 更多... | |
template<typename T2 > | |
TensorValue (const TensorValue< T2 > &p) | |
复制构造函数。 更多... | |
template<typename T2 > | |
TensorValue (const TypeTensor< T2 > &p) | |
复制构造函数。 更多... | |
TensorValue (const TypeTensor< Real > &p_re, const TypeTensor< Real > &p_im) | |
构造函数,接受两个TypeTensor<Real>作为参数,表示实部和虚部。 更多... | |
template<typename Scalar > | |
boostcopy::enable_if_c < ScalarTraits< Scalar > ::value, TensorValue & >::type | operator= (const Scalar &libmesh_dbg_var(p)) |
赋值给标量的运算符。仅用于将张量清零。 更多... | |
静态 Public 成员函数 | |
static TensorValue< Real > | intrinsic_rotation_matrix (Real phi, Real theta, Real psi) |
生成与提供的欧拉角关联的内禀旋转矩阵。内禀旋转会保持域中的物体不动,同时旋转坐标轴。 我们遵循http://mathworld.wolfram.com/EulerAngles.html中描述的约定 (方程6-14给出了复合变换矩阵的条目)。旋转在z、x'和z''轴上按顺序执行。旋 转序列的每个步骤中的正角度给出了在旋转轴周围以逆时针方向旋转实体的外观,尽管事实上 旋转的是坐标轴本身。为了给出物体逆时针旋转的外观,我们实际上将角度传递到方法中的负角度。 所有角度应以度为单位提供。 更多... | |
static TensorValue< Real > | inverse_intrinsic_rotation_matrix (Real phi, Real theta, Real psi) |
反转与提供给intrinsic_rotation_matrix的相同角度的旋转,即返回到原始起始点。 所有角度应以度为单位提供。 更多... | |
static TensorValue< Real > | extrinsic_rotation_matrix (Real angle1_deg, Real angle2_deg, Real angle3_deg) |
生成与提供的欧拉角关联的外禀旋转矩阵。外禀旋转旋转域中的物体,并保持坐标轴不变。 我们遵循https://en.wikipedia.org/wiki/Euler_angles#Rotation_matrix中描述的约定, 我们使用“适当的欧拉角”列和Z1 X2 Z3行中描述的矩阵,该矩阵指示按顺序绕z、x和z轴执行旋转。 正角度表示相对于相应轴的逆时针旋转。注意,角度应以度为单位提供。 更多... | |
static TensorValue< Real > | inverse_extrinsic_rotation_matrix (Real angle1_deg, Real angle2_deg, Real angle3_deg) |
反转与提供给extrinsic_rotation_matrix的相同角度的旋转,即返回到原始起始点。 更多... | |
Protected 类型 | |
typedef std::tuple< unsigned int, unsigned int > | index_type |
Helper typedef 用于泛型索引编程。 更多... | |
Protected 成员函数 | |
const T & | operator() (const unsigned int i, const unsigned int j) const |
返回 (i,j) 元素的常量引用。 更多... | |
T & | operator() (const unsigned int i, const unsigned int j) |
返回 (i,j) 元素的可写引用。 更多... | |
ConstTypeTensorColumn< T > | slice (const unsigned int i) const |
返回 Tensor 的第 i 列的代理。 更多... | |
TypeTensorColumn< T > | slice (const unsigned int i) |
返回 Tensor 的第 i 列的可写代理。 更多... | |
TypeVector< T > | row (const unsigned int r) const |
返回 Tensor 的一行作为 TypeVector 的副本。 更多... | |
template<typename T2 > | |
TypeTensor< typename CompareTypes< T, T2 > ::supertype > | operator+ (const TypeTensor< T2 > &) const |
将另一个 Tensor 加到该 Tensor 上。 更多... | |
template<typename T2 > | |
const TypeTensor< T > & | operator+= (const TypeTensor< T2 > &) |
在该 Tensor 上加上另一个 Tensor。 更多... | |
template<typename T2 > | |
void | add (const TypeTensor< T2 > &) |
在不创建临时 Tensor 的情况下将另一个 Tensor 加到该 Tensor 上。 更多... | |
template<typename T2 > | |
void | add_scaled (const TypeTensor< T2 > &, const T &scale) |
在不创建临时 Tensor 的情况下将一个缩放的 Tensor 加到该 Tensor 上。 更多... | |
template<typename T2 > | |
TypeTensor< typename CompareTypes< T, T2 > ::supertype > | operator- (const TypeTensor< T2 > &) const |
从该 Tensor 减去另一个 Tensor。 更多... | |
TypeTensor< T > | operator- () const |
返回该 Tensor 的负值的副本。 更多... | |
template<typename T2 > | |
const TypeTensor< T > & | operator-= (const TypeTensor< T2 > &) |
从该 Tensor 减去另一个 Tensor。 更多... | |
template<typename T2 > | |
void | subtract (const TypeTensor< T2 > &) |
在不创建临时 Tensor 的情况下从该 Tensor 减去另一个 Tensor。 更多... | |
template<typename T2 > | |
void | subtract_scaled (const TypeTensor< T2 > &, const T &) |
在不创建临时 Tensor 的情况下从该 Tensor 减去一个缩放的 Tensor。 更多... | |
template<typename Scalar > | |
auto | operator* (const Scalar &scalar) const -> typename boostcopy::enable_if_c< ScalarTraits< Scalar >::value, TypeTensor< decltype(T()*scalar)>>::type |
将该 Tensor 与标量值相乘。 更多... | |
template<typename T2 > | |
TypeTensor< typename CompareTypes< T, T2 > ::supertype > | operator* (const TypeTensor< T2 > &) const |
将两个 Tensor 相乘,即矩阵-矩阵乘积。 这些 Tensor 可能包含不同的数值类型。 更多... | |
template<typename T2 > | |
TypeVector< typename CompareTypes< T, T2 > ::supertype > | operator* (const TypeVector< T2 > &) const |
将该 Tensor 右乘以一个向量,即矩阵-向量乘积。 这个 Tensor 和向量可以包含不同的数值类型。 更多... | |
template<typename Scalar , typename boostcopy::enable_if_c< ScalarTraits< Scalar >::value, int >::type = 0> | |
const TypeTensor< T > & | operator*= (const Scalar &factor) |
在地方上将该 Tensor 乘以标量值。 更多... | |
template<typename T2 > | |
const TypeTensor< T > & | operator*= (const TypeTensor< T2 > &) |
在地方上将该 Tensor 与另一个 Tensor 相乘。 更多... | |
template<typename Scalar > | |
boostcopy::enable_if_c < ScalarTraits< Scalar > ::value, TypeTensor< typename CompareTypes< T, Scalar > ::supertype > >::type | operator/ (const Scalar &) const |
将该 Tensor 的每个元素除以标量值。 更多... | |
const TypeTensor< T > & | operator/= (const T &) |
将该 Tensor 的每个元素除以标量值。 更多... | |
template<typename T2 > | |
CompareTypes< T, T2 >::supertype | contract (const TypeTensor< T2 > &) const |
将两个 Tensor 相乘,返回一个标量,即 ![]() | |
template<typename T2 > | |
TypeVector< typename CompareTypes< T, T2 > ::supertype > | left_multiply (const TypeVector< T2 > &p) const |
将该 Tensor 左乘以一个向量,即矩阵-向量乘积。 这个 Tensor 和向量可以包含不同的数值类型。 更多... | |
TypeTensor< T > | transpose () const |
返回该 Tensor 的转置(对于复数不共轭)。 更多... | |
TypeTensor< T > | inverse () const |
返回该 Tensor 的逆作为独立对象。 更多... | |
void | solve (const TypeVector< T > &b, TypeVector< T > &x) const |
解方程组 ![]() ![]() ![]() | |
auto | norm () const -> decltype(std::norm(T())) |
返回 Tensor 的 Frobenius 范数,即元素平方和的平方根。 更多... | |
auto | norm_sq () const -> decltype(std::norm(T())) |
返回 Tensor 的 Frobenius 范数的平方,即元素模平方的和。 更多... | |
bool | is_zero () const |
如果 Tensor 中的所有值都为零,则返回 true。 更多... | |
T | det () const |
返回 Tensor 的行列式。 由于这些是最多 3x3 的 Tensor,我们不像 DenseMatrix 那样做 LU 分解。 更多... | |
T | tr () const |
返回 Tensor 的迹。 更多... | |
void | zero () |
将 Tensor 的所有元素设置为零。 更多... | |
bool | operator== (const TypeTensor< T > &rhs) const |
检查两个 Tensor 是否相等。 更多... | |
bool | operator< (const TypeTensor< T > &rhs) const |
检查该 Tensor 是否小于另一个 Tensor。 用于排序时很有用。 更多... | |
template<> | |
bool | operator< (const TypeTensor< Real > &rhs) const |
template<> | |
bool | operator< (const TypeTensor< Complex > &rhs) const |
bool | operator> (const TypeTensor< T > &rhs) const |
检查该 Tensor 是否大于另一个 Tensor。 更多... | |
template<> | |
bool | operator> (const TypeTensor< Real > &rhs) const |
template<> | |
bool | operator> (const TypeTensor< Complex > &rhs) const |
void | print (std::ostream &os=libMesh::out) const |
格式化输出到流,默认为 libMesh::out。 更多... | |
void | write_unformatted (std::ostream &out_stream, const bool newline=true) const |
无格式输出到流,默认为打印元素并以空格和换行符分隔。 更多... | |
Protected 属性 | |
T | _coords [LIBMESH_DIM *LIBMESH_DIM] |
TypeTensor 的坐标 更多... | |
此类定义了LIBMESH_DIM维度的实数或复数空间中的张量。typedef RealTensorValue总是定义为实数值的张量, 而NumberTensorValue则根据库的配置定义为实数或复数值的张量。
在文件 tensor_tools.h 第 37 行定义.
|
protectedinherited |
Helper typedef 用于泛型索引编程。
在文件 type_tensor.h 第 120 行定义.
typedef T libMesh::TensorValue< T >::value_type |
在文件 tensor_value.h 第 45 行定义.
|
inline |
无参构造函数。 在LIBMESH_DIM维度的T空间中创建零张量。
在文件 tensor_value.h 第 231 行定义.
|
inlineexplicit |
Constructor-from-T。默认情况下,将更高维度的条目设置为0。
xx | xx分量的值 |
xy | xy分量的值,默认为0 |
xz | xz分量的值,默认为0 |
yx | yx分量的值,默认为0 |
yy | yy分量的值,默认为0 |
yz | yz分量的值,默认为0 |
zx | zx分量的值,默认为0 |
zy | zy分量的值,默认为0 |
zz | zz分量的值,默认为0 |
在文件 tensor_value.h 第 240 行定义.
|
inlineexplicit |
Constructor-from-scalars。默认情况下,将更高维度的条目设置为0。
xx | xx分量的值 |
xy | xy分量的值,默认为0 |
xz | xz分量的值,默认为0 |
yx | yx分量的值,默认为0 |
yy | yy分量的值,默认为0 |
yz | yz分量的值,默认为0 |
zx | zx分量的值,默认为0 |
zy | zy分量的值,默认为0 |
zz | zz分量的值,默认为0 |
在文件 tensor_value.h 第 257 行定义.
|
inline |
|
inline |
|
inline |
构造函数。对于LIBMESH_DIM=3,需要3行向量。
vx | 包含vx分量的行向量 |
vy | 包含vy分量的行向量 |
vz | 包含vz分量的行向量 |
在文件 tensor_value.h 第 308 行定义.
|
inline |
|
inline |
|
inline |
|
inlineprotectedinherited |
在不创建临时 Tensor 的情况下将另一个 Tensor 加到该 Tensor 上。
T2 | 另一个 Tensor 的元素类型。 |
p | 另一个 Tensor。 |
在文件 type_tensor.h 第 930 行定义.
参考 libMesh::TypeTensor< T >::_coords.
参考自 libMesh::TypeTensor< T >::operator+=().
|
inlineprotectedinherited |
在不创建临时 Tensor 的情况下将一个缩放的 Tensor 加到该 Tensor 上。
T2 | 另一个 Tensor 的元素类型。 |
p | 要加的 Tensor。 |
scale | 缩放因子。 |
在文件 type_tensor.h 第 941 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
将两个 Tensor 相乘,返回一个标量,即 。 这些 Tensor 可能包含不同的数值类型。
Multiply 2 tensors together, i.e.
T2 | 另一个 Tensor 的元素类型。 |
p | 另一个 Tensor。 |
sum Aij*Bij. The tensors may be of different types.
在文件 type_tensor.h 第 1358 行定义.
参考 libMesh::TypeTensor< T >::_coords.
参考自 libMesh::TensorTools::inner_product().
|
inlineprotectedinherited |
返回 Tensor 的行列式。 由于这些是最多 3x3 的 Tensor,我们不像 DenseMatrix 那样做 LU 分解。
在文件 type_tensor.h 第 1388 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
static |
生成与提供的欧拉角关联的外禀旋转矩阵。外禀旋转旋转域中的物体,并保持坐标轴不变。 我们遵循https://en.wikipedia.org/wiki/Euler_angles#Rotation_matrix中描述的约定, 我们使用“适当的欧拉角”列和Z1 X2 Z3行中描述的矩阵,该矩阵指示按顺序绕z、x和z轴执行旋转。 正角度表示相对于相应轴的逆时针旋转。注意,角度应以度为单位提供。
angle1_deg | 绕z轴的旋转角度 |
angle2_deg | 绕x轴的旋转角度(angle1之后) |
angle3_deg | 绕z轴的旋转角度(angle1和angle2之后) |
在文件 tensor_value.h 第 388 行定义.
参考 libMesh::libmesh_ignore() , 以及 libMesh::pi.
参考自 libMesh::TensorValue< T >::inverse_extrinsic_rotation_matrix().
|
static |
生成与提供的欧拉角关联的内禀旋转矩阵。内禀旋转会保持域中的物体不动,同时旋转坐标轴。 我们遵循http://mathworld.wolfram.com/EulerAngles.html中描述的约定 (方程6-14给出了复合变换矩阵的条目)。旋转在z、x'和z''轴上按顺序执行。旋 转序列的每个步骤中的正角度给出了在旋转轴周围以逆时针方向旋转实体的外观,尽管事实上 旋转的是坐标轴本身。为了给出物体逆时针旋转的外观,我们实际上将角度传递到方法中的负角度。 所有角度应以度为单位提供。
phi | 围绕原始z轴旋转坐标轴的负角度 |
theta | 围绕“当前”x轴(phi之后)旋转坐标轴的负角度,例如x' |
psi | 围绕“当前”z轴(phi和theta之后)旋转坐标轴的负角度,例如z'' |
在文件 tensor_value.h 第 346 行定义.
参考 libMesh::libmesh_ignore(), libMesh::pi , 以及 libMesh::Real.
参考自 libMesh::TensorValue< T >::inverse_intrinsic_rotation_matrix().
|
inlineprotectedinherited |
返回该 Tensor 的逆作为独立对象。
在文件 type_tensor.h 第 1170 行定义.
参考 libMesh::TypeTensor< T >::_coords , 以及 libMesh::TypeTensor< T >::TypeTensor().
|
static |
反转与提供给extrinsic_rotation_matrix的相同角度的旋转,即返回到原始起始点。
angle1_deg | 绕z轴的旋转角度 |
angle2_deg | 绕x轴的旋转角度(angle1之后) |
angle3_deg | 绕z轴的旋转角度(angle1和angle2之后) |
在文件 tensor_value.h 第 420 行定义.
参考 libMesh::TensorValue< T >::extrinsic_rotation_matrix().
|
static |
反转与提供给intrinsic_rotation_matrix的相同角度的旋转,即返回到原始起始点。
所有角度应以度为单位提供。
phi | 围绕原始z轴旋转坐标轴的负角度 |
theta | 围绕“当前”x轴(phi之后)旋转坐标轴的负角度,例如x' |
psi | 围绕“当前”z轴(phi和theta之后)旋转坐标轴的负角度,例如z'' |
在文件 tensor_value.h 第 380 行定义.
参考 libMesh::TensorValue< T >::intrinsic_rotation_matrix().
|
inlineprotectedinherited |
如果 Tensor 中的所有值都为零,则返回 true。
在文件 type_tensor.h 第 1378 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
将该 Tensor 左乘以一个向量,即矩阵-向量乘积。 这个 Tensor 和向量可以包含不同的数值类型。
T2 | 向量的元素类型。 |
p | 另一个向量。 |
在文件 type_tensor.h 第 1301 行定义.
参考自 libMesh::operator*().
|
inlineprotectedinherited |
返回 Tensor 的 Frobenius 范数,即元素平方和的平方根。
在文件 type_tensor.h 第 1370 行定义.
参考 libMesh::TypeTensor< T >::norm_sq() , 以及 std::sqrt().
|
inlineprotectedinherited |
返回 Tensor 的 Frobenius 范数的平方,即元素模平方的和。
在文件 type_tensor.h 第 1438 行定义.
参考 libMesh::TypeTensor< T >::_coords, libMesh::TensorTools::norm_sq() , 以及 libMesh::Real.
参考自 libMesh::TypeTensor< T >::norm().
|
inlineprotectedinherited |
返回 (i,j) 元素的常量引用。
i | 行索引。 |
j | 列索引。 |
在文件 type_tensor.h 第 811 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
返回 (i,j) 元素的可写引用。
i | 行索引。 |
j | 列索引。 |
在文件 type_tensor.h 第 830 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
将该 Tensor 与标量值相乘。
Scalar | 标量类型。 |
scalar | 标量值。 |
在文件 type_tensor.h 第 1055 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
将两个 Tensor 相乘,即矩阵-矩阵乘积。 这些 Tensor 可能包含不同的数值类型。
T2 | 另一个 Tensor 的元素类型。 |
p | 另一个 Tensor。 |
在文件 type_tensor.h 第 1323 行定义.
|
inlineprotectedinherited |
将该 Tensor 右乘以一个向量,即矩阵-向量乘积。 这个 Tensor 和向量可以包含不同的数值类型。
T2 | 向量的元素类型。 |
p | 另一个向量。 |
在文件 type_tensor.h 第 1287 行定义.
|
inlineprotectedinherited |
在地方上将该 Tensor 乘以标量值。
Scalar | 标量类型。 |
factor | 缩放因子。 |
在文件 type_tensor.h 第 304 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
在地方上将该 Tensor 与另一个 Tensor 相乘。
T2 | 另一个 Tensor 的元素类型。 |
p | 另一个 Tensor。 |
在文件 type_tensor.h 第 1337 行定义.
|
inlineprotectedinherited |
将另一个 Tensor 加到该 Tensor 上。
T2 | 另一个 Tensor 的元素类型。 |
p | 另一个 Tensor。 |
在文件 type_tensor.h 第 884 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
在该 Tensor 上加上另一个 Tensor。
T2 | 另一个 Tensor 的元素类型。 |
p | 另一个 Tensor。 |
在文件 type_tensor.h 第 918 行定义.
参考 libMesh::TypeTensor< T >::add().
|
inlineprotectedinherited |
从该 Tensor 减去另一个 Tensor。
T2 | 另一个 Tensor 的元素类型。 |
p | 要减去的 Tensor。 |
在文件 type_tensor.h 第 954 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
返回该 Tensor 的负值的副本。
在文件 type_tensor.h 第 1021 行定义.
参考 libMesh::TypeTensor< T >::_coords , 以及 libMesh::TypeTensor< T >::TypeTensor().
|
inlineprotectedinherited |
从该 Tensor 减去另一个 Tensor。
T2 | 另一个 Tensor 的元素类型。 |
p | 要减去的 Tensor。 |
在文件 type_tensor.h 第 988 行定义.
参考 libMesh::TypeTensor< T >::subtract().
|
inlineprotectedinherited |
将该 Tensor 的每个元素除以标量值。
Scalar | 标量类型。 |
divisor | 除数。 |
在文件 type_tensor.h 第 1105 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
将该 Tensor 的每个元素除以标量值。
divisor | 除数。 |
在文件 type_tensor.h 第 1270 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
protectedinherited |
在文件 type_tensor.C 第 113 行定义.
|
protectedinherited |
在文件 type_tensor.C 第 146 行定义.
参考 std::imag() , 以及 std::real().
|
protectedinherited |
检查该 Tensor 是否小于另一个 Tensor。 用于排序时很有用。
rhs | 要比较的另一个 Tensor。 |
|
inline |
赋值给标量的运算符。仅用于将张量清零。
p | 要赋值为0的标量 |
在文件 tensor_value.h 第 166 行定义.
参考 libMesh::TypeTensor< T >::zero().
|
inlineprotectedinherited |
检查两个 Tensor 是否相等。
rhs | 要比较的另一个 Tensor。 |
在文件 type_tensor.h 第 1450 行定义.
参考 libMesh::TypeTensor< T >::_coords, std::abs() , 以及 libMesh::TOLERANCE.
|
protectedinherited |
在文件 type_tensor.C 第 129 行定义.
|
protectedinherited |
在文件 type_tensor.C 第 166 行定义.
参考 std::imag() , 以及 std::real().
|
protectedinherited |
检查该 Tensor 是否大于另一个 Tensor。
rhs | 要比较的另一个 Tensor。 |
|
protectedinherited |
|
inlineprotectedinherited |
返回 Tensor 的一行作为 TypeVector 的副本。
r | 行索引。 |
在文件 type_tensor.h 第 870 行定义.
参考 libMesh::TypeTensor< T >::_coords , 以及 libMesh::TypeVector< T >::_coords.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
解方程组 得到
,其中
为该 Tensor。
b | 右侧向量。 | |
[out] | x | 解向量。 |
在文件 type_tensor.h 第 1219 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
在不创建临时 Tensor 的情况下从该 Tensor 减去另一个 Tensor。
T2 | 另一个 Tensor 的元素类型。 |
p | 要减去的 Tensor。 |
在文件 type_tensor.h 第 1000 行定义.
参考 libMesh::TypeTensor< T >::_coords.
参考自 libMesh::TypeTensor< T >::operator-=().
|
inlineprotectedinherited |
在不创建临时 Tensor 的情况下从该 Tensor 减去一个缩放的 Tensor。
T2 | 另一个 Tensor 的元素类型。 |
p | 要减去的 Tensor。 |
scale | 缩放因子。 |
在文件 type_tensor.h 第 1011 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
返回 Tensor 的迹。
在文件 type_tensor.h 第 1411 行定义.
参考 libMesh::TypeTensor< T >::_coords.
|
inlineprotectedinherited |
返回该 Tensor 的转置(对于复数不共轭)。
在文件 type_tensor.h 第 1140 行定义.
参考 libMesh::TypeTensor< T >::_coords , 以及 libMesh::TypeTensor< T >::TypeTensor().
|
protectedinherited |
|
inlineprotectedinherited |
将 Tensor 的所有元素设置为零。
在文件 type_tensor.h 第 1428 行定义.
参考 libMesh::TypeTensor< T >::_coords.
参考自 libMesh::TypeTensor< T >::operator=() , 以及 libMesh::TensorValue< T >::operator=().
|
protectedinherited |
TypeTensor
的坐标
在文件 type_tensor.h 第 500 行定义.
参考自 libMesh::TypeTensor< T >::add(), libMesh::TypeTensor< T >::add_scaled(), libMesh::TypeTensor< T >::contract(), libMesh::TypeTensor< T >::det(), libMesh::TypeTensor< T >::inverse(), libMesh::TypeTensor< T >::is_zero(), libMesh::TypeTensor< T >::norm_sq(), libMesh::TypeTensor< T >::operator()(), libMesh::TypeTensor< T >::operator*(), libMesh::TypeTensor< T >::operator*=(), libMesh::TypeTensor< T >::operator+(), libMesh::TypeTensor< T >::operator-(), libMesh::TypeTensor< T >::operator/(), libMesh::TypeTensor< T >::operator/=(), libMesh::TypeTensor< T >::operator==(), libMesh::TypeTensor< T >::row(), libMesh::TypeTensor< T >::solve(), libMesh::TypeTensor< T >::subtract(), libMesh::TypeTensor< T >::subtract_scaled(), libMesh::TypeTensor< T >::tr(), libMesh::TypeTensor< T >::transpose(), libMesh::TypeTensor< T >::TypeTensor() , 以及 libMesh::TypeTensor< T >::zero().